On Mon, Dec 28, 2009 at 9:37 PM, Muhammad A Muquit <
[email protected]> wrote:

> I'm having issues with sending traps using send_v2trap() from an AgentX
> subagent on Solaris 9.
>
> When the subagent sends series of traps, the subagent and master agent
> both get blocked on the sendto() call.  It does not matter if there is any
> delay between sending traps. But interestingly blocking happens at the
> exact number of traps each time (34th trap in my case).. is the domain
> socket's buffer getting full?  When the problem happens, obviously master
> agent does not respond to any snmp queries.
>
> To isolate the problem, I wrote a simple test subagent which only sends
> nothing
> but traps. Enterprise trap PDU is about 330 bytes.
>
> If subagent is killed, I can see the master agent sends another 34 traps.
>
> MY workaround is to create a separate session for sending traps, construct
> the trap PDUs myself and send them, which works. But I rather not do that
> if possible.
>

It would help if you could file this issue on the Net-SNMP bug tracker and
attach the source code of the test program.

Bart.
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to