-
When you call close() on SnmpSession, it can cause deadlock.
Occurs very rarely or under heavy load.
I have fix, also for bug "NPE..." but I need to know how I can do commits to svn... Or whom send the patch. I'm new to sf.
2009-07-29 23:16:22 UTC by jakubneubauer
-
Hello
Yep.
I would like to confirm, that I have the same problem.
The exception is:
Exception in thread "main" java.lang.NullPointerException
at org.opennms.protocols.snmp.SnmpTimer$TimerLogic.cancel(SnmpTimer.java:177)
at org.opennms.protocols.snmp.SnmpTimer.cancel(SnmpTimer.java:80)
at org.opennms.protocols.snmp.SnmpSession.close(SnmpSession.java:961)
....
I think, that it is...
2009-06-22 01:33:28 UTC by adamwozpl
-
aozarov committed patchset 31 of module joesnmp to the joeSNMP CVS repository, changing 1 files.
2008-01-03 19:18:43 UTC by aozarov
-
The end user has no means of controlling the
DATAGRAM_SOCKET_BUFFER_SIZE, which is set to 64 *
1024.
If you have many sessions open (20 of these buffers
are kept per session) and a long queue of informs
this quickly becomes a lot of MB in RAM. In many
applications 64 * 1024 is unneccessary large. My
application works fine with only 2 * 1024.
The buffers...
2006-09-20 10:43:19 UTC by nobody
-
Under heay inform/trap load on a system that is
hevily loaded SnmpPortal allocates too much memory
and ultimately causes OutOfMemoryError and the death
of the Reciever thread. This happens because there is
no limitation on the size of the fastReceiverQ.
Suggested solution below. It would be preferable if
the limit of the queue (1000 below) would be
configurable by the client code...
2006-09-20 10:31:57 UTC by nobody
-
Sometimes when the SnmpSession.close() is called in
version 0.3.4 a nullpointer exception is thrown in
TimerLogic.cancel() at
m_thread.interrupt();
(m_thread is null)
This is probably due to the TimerLogic having
m_isActive = true even when the run method (which
sets m_thread to current thread) has not been called.
This does not happen when the same code is run in
0.3.2.
2006-08-24 11:47:47 UTC by nobody
-
aozarov committed patchset 30 of module joesnmp to the joeSNMP CVS repository, changing 1 files.
2006-04-21 00:52:22 UTC by aozarov
-
andd committed patchset 29 of module joesnmp to the joeSNMP CVS repository, changing 3 files.
2006-04-05 21:28:06 UTC by andd
-
aozarov committed patchset 28 of module joesnmp to the joeSNMP CVS repository, changing 1 files.
2005-10-25 16:53:40 UTC by aozarov
-
aozarov committed patchset 27 of module joesnmp to the joeSNMP CVS repository, changing 1 files.
2005-07-11 16:48:15 UTC by aozarov