On Mon, 28 Dec 2009 15:37:08 -0500 Muhammad wrote: MAM> I'm having issues with sending traps using send_v2trap() from an AgentX MAM> subagent on Solaris 9. MAM> MAM> When the subagent sends series of traps, the subagent and master agent MAM> both get blocked on the sendto() call. It does not matter if there is any MAM> delay between sending traps. But interestingly blocking happens at the MAM> exact number of traps each time (34th trap in my case).. is the domain MAM> socket's buffer getting full? When the problem happens, obviously master MAM> agent does not respond to any snmp queries. MAM> MAM> To isolate the problem, I wrote a simple test subagent which only sends nothing MAM> but traps. Enterprise trap PDU is about 330 bytes. MAM> MAM> If subagent is killed, I can see the master agent sends another 34 traps. MAM> MAM> MY workaround is to create a separate session for sending traps, construct MAM> the trap PDUs myself and send them, which works. But I rather not do that MAM> if possible. MAM> MAM> Any insight into this problem will be appreciated.
Can you try the patch attached to this bug report? http://sourceforge.net/tracker/index.php?func=detail&aid=1598344&group_id=12694&atid=312694 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
