[SNMP4J] Problems closing snmp

Yoryos Valotassios valotas at gloman.gr
Sat Oct 17 00:28:55 CEST 2009


I do have about 8 async snmp requests per 15 seconds with a single snmp
object. How can I avoid this possible hanging? Should I use a new snmp
object per request?

Until now I did not have any problem in order to have a "good" thread dump.

On Oct 15, 2009 12:15 a.m., "Frank Fock" <fock at agentpp.com> wrote:

Sorry, I confused the messages. Ok, then if you
get timeouts only either a deadlock occured within
the Snmp or the DefaultUdpTransportMapping or
an exception occured which terminated the transport
mapping listener thread. A deadlock is more likely.
A heap dump or stack traces of the involved threads
would be helpful.

The deadlock can be caused by an async SNMP request
that hangs in its ResponseListener's onResponse method.

Regards,
Frank


Yoryos Valotassios wrote:

> > > I don't get any NPE, I get ResponseListener triggers where when the >
> peerAdress of events passe...
> _______________________________________________
>
> > SNMP4J mailing list > SNMP4J at agentpp.org >
> http://lists.agentpp.org/mailman/listinfo/snmp4j
>
-- AGENT++ http://www.agentpp.com http://www.snmp4j.com
http://www.mibexplorer.com http://www.mib...



More information about the SNMP4J mailing list