[SNMP4J] SNMP Threads don't close

Frank Fock fock at agentpp.com
Tue Nov 15 19:46:17 CET 2005


Hi Fabian,

Are you sure that these threads belong to SNMP4J?
Are you using the MultiThreadedMessageDispatcher?
Which SNMP4J version are you using on which platform?

Thanks,
Frank

Fabian Nart wrote:

> Hi
>
> I use snmp4j in a j2ee application running on JBoss 4.0 on Windows. I 
> use snmp4j to query a set of devices for status data. After each run 
> to the job that gathers this data, windows' task-manager shows about 
> 15 Threads more for my JBoss' process than before. I use the 
> DefaultUdpTransportModel and I call the SNMP.close() method when I 
> don't need the SNMP object any more. But still there is the number of 
> threads constantly growing and leading to an OutOfMemoryException in 
> the end.
>
> Can anyone tell me what else than just calling SNMP.close() has to be 
> done to have all resources cleaned up well?
> Thanks, Fabian
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
>
>


-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com





More information about the SNMP4J mailing list