Hi,

 

I am using SNMP4J for writing a SNMPListener which receives SNMPV3
Traps.

 

The following is my configuration:

 

Transport                                               : TCP

Number of TrapSenders                          : 1

Sleep interval between traps                    : 100 Milliseconds

DispatcherPoolSize on Listener               : 10

TransportMapping on Sender & Listener   : DefaultTcpTransportMapping

Operating System                                  : Windows XP

 

When I send a large number of Traps the Listener goes into a block state
after say receiving 500 - 700 traps. The blocking happens at the
following line inside DefaultTcpTransportMapping$ServerThread.run()
method, selector.select(). Can you please provide some pointers on what
could be the reason? Is this because the number of connections getting
maxed out? 

 

I see the Selector provides a select() method with a timeout parameter.
Is there any specific reason that the call is used without timeout?

 

Thanks & Regards

Riyaz

_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to