We're not specifically using setReceiveBufferSize() when we open the SNMP4J trap port so the socket may be given a smaller buffer size than the maximum that can be provided by the operating system.
We should set the value to Integer.MAX_VALUE (which will use the operating system maximum) to maximize the buffer space on the socket so that high volumes of traps can be processed reliably.
We're not specifically using
setReceiveBufferSize()
when we open the SNMP4J trap port so the socket may be given a smaller buffer size than the maximum that can be provided by the operating system.We should set the value to
Integer.MAX_VALUE
(which will use the operating system maximum) to maximize the buffer space on the socket so that high volumes of traps can be processed reliably.