[SNMP4J] Error on stress sending of SNMPv3 traps

Pavel Orehov pavel.orehov at gmail.com
Thu Nov 1 13:50:52 CET 2007


 Hi,

I am sending SNMPv3 traps in a stress mode from many thread simultaniously.
Before each send I am setting UsmUser to SNMP.getUsm.addUser(...).
Now I understood that SNMP4J is thread safety so I don't have any lock in my
code.
I get the following error after several thouthands of traps sended (only in
stress mode with many threads).

*org.snmp4j.MessageException*: Message processing model 3 returned error:
-1402

at org.snmp4j.MessageDispatcherImpl.sendPdu(Unknown Source)

at org.snmp4j.Snmp.sendMessage(Unknown Source)

at org.snmp4j.Snmp.send(Unknown Source)

at org.snmp4j.Snmp.send(Unknown Source)



More information about the SNMP4J mailing list