[AGENT++] AgentX::send_agentx stuck

Chetan Prabhakar chetan.prabhakar at oracle.com
Mon May 10 12:32:10 CEST 2010


Hi,

 

The sub-agent call is getting stuck in the "write" socket call, writing on a TCP socket (to communicate to the master_agent), during the process of registering OIDs.

The agentpp code is compiled on Solaris 9 and being run on Solaris 10.

Has any similar issue been encountered earlier by anyone and resolved?

 

 ffffffff775d3be0 write    (70, 105e50b10, 3c)

 ffffffff7e91d760 int AgentX::send_agentx(int,const AgentXPdu&) (1001b6d20, 70, 1078ae000, 104befd70, 400, ffffffff7fffdd10) + 268

 ffffffff7e9216d8 int AgentXSlave::send(const AgentXPdu&) (1001b6d20, ffffffff7e91d4f8, ffffffff7ea7efa0, ffffffff7e942630, ffffffff7ea80298, 70) + 18

 ffffffff7e94fd30 void SubAgentXMib::allocate_index(const OctetStr&,Vbx*,int,AgentXSharedTable*,unsigned char) (ffffffff7ea7efa0, 1001b6d20, ffffffff7ea80898, 6c0, 400, 1078ae000) + 310

 ffffffff7e94b114 int AgentXSharedTable::allocate_index(const Oidx&) (1076d40a0, 1001bf0a0, 1, 12ff3c, ffffffff7cd64050, ffffffff7ea7aff0) + 6c

 ffffffff7cd65d50 int OMF::PortalMibTable::allocate_index(const Oidx&) (1076d40a0, ffffffff7fffe0e8, 1400, 192f3c, ffffffff7cd83dd4, ffffffff7ed369f8) + 8

 ffffffff7cd64050 OMF::RegistryMibTable::RegistryMibTable #Nvariant 1(const BAS::String&,const index_info*,unsigned,const Oidx*,SubAgentXMib*,const char*,RWTValMap<BAS::String,BAS::InstrumentationProbe::ProbeInfo,std::less<BAS::String>,std::allocator<std::pair<const BAS::String,BAS::InstrumentationProbe::ProbeInfo> > >&,OMF::SnmpIf*,const int) (1076d40a0, 1077c9240, ffffffff7fffe0e0, ffffffff7fffe0e8, ffffffff7fffe120, ffffffff7fffe128) + 2c0

 ffffffff7cd83dd4 bool OMF::Snmp::registerRegistryTable() (1001b6fb0, 1d80, 1076d40a0, ffffffff7fffe318, ffffffff7fffe350, ffffffff7fffe370) + 10c

 ffffffff7cd839e4 bool OMF::Snmp::registerMibTableObjects() (1001b6fb0, 1046210d0, ffffffff7ed48678, ffffffff7ebb87f8, ffffffff7ea7aff0, 0) + 24

 ffffffff7cd8254c bool OMF::Snmp::registerToMasterSnmp() (1001b6fb0, 1, 18c69c, ffffffff7cdbfbb8, ffffffff7ab61a48, 1001b30a0) + cc

 ffffffff7cd9cf74 bool OMF::SnmpServer::startup() (1001b5170, ffffffff7cf1a548, 171bd0, ffffffff7aa1c484, ffffffff7cf0eb28, 1001b6fb0) + 2c

 ffffffff7cdbfbb8 bool OMF::Controller::startup() (100145708, 100145708, 13e17c, 1, ffffffff7ab61a48, 1001b30a0) + 80

 ffffffff7aa1c484 CTL::Base::Base #Nvariant 1(const BAS::String&,const BAS::String&,const bool,const BAS::String&) (100173ad0, ffffffff7fffe9e0, 0, 100173ca8, ffffffff7fffe960, 100173c70) + 78c

 00000001000085f4 main (100173ad0, ffffffff7fffee98, 0, ffffffff7fffec10, ffffffff7fffec18, 10000c7e4) + 7c4

 00000001000076dc _start (0, 0, 0, 0, 0, 0) + 17c

 

I have the master_agent stack trace, along with the debug logs for master and sub-agents. Would it help identify any potential issue, if I provide them? The master_agent is built using the sample master agent provided.

 

The version of the libraries are as below:

 

 snmp_pp_v3.2.20 

 agent_pp_v3.5.26

 agentx_pp_v1.4.14

 

Thanks,

Chetan



More information about the AGENTPP mailing list