Snmp Manager and asynchronous traps.

Frank Fock Frank.Fock____t-online.de
Mon Jul 16 23:34:42 CEST 2001


Jochen and Ron,

Jochen Katz wrote:

>
> I tested with the receive_trap example and a modified (for-loop around
> snmp.trap(...)) snmpTraps example and could send  700 Traps in ~ 8
> seconds. All of them where received. But when I tried to send 1000 Traps
> in a burst some of the traps were dropped by the kernel (The kernel
> receive queue for UDP seems to be 64KB on Linux). Maybe you're seeing
> the same "problem".
>

On most operating systems the UDP buffer is 64 Kb by default.
Additionally, one has to consider that the buffer is organized in pages
of 128 bytes or 256 bytes respectively. If the trap you are sending
has a length of 260 bytes, then the buffer will be able to hold
128 traps. Which is not that much...

Best regards,
Frank




More information about the AGENTPP mailing list