Hi,

I cannot follow your question. What "lock" are you talking about?
If you create the threads, why do you not end them?

The MultiThreadedMessageDispatcher can be used with any
type of SNMP PDU.
In any case, I recommend using the standard message dispatcher
until all problems are solved. Then you can switch to the multi-threaded
variant to increase throughput (in some scenarios).

Best regards,
Frank

Am 03.07.2013 14:25, schrieb SALINI JOSEPH:
Hi,

We have a requirement like we need to support snmp get on multiple
OIDs for around 10000 devices.
Planning to go with asynch communication.
The problem we are facing is it is not releaseing the lock.
The way we proceed is for each device we are creating a thread and
sending the request.
Once it got the response the values are putting into one array.

In windows OS everything went fine. But on linux it is not releasing
the thread. the threads are still alive.

Can you please help me in this.
We are using normal ResponseListener only. Dont know whether this is
the correct way or is there any aulternative.

One more questing I had seen MultiThreadedMessageDispatcher.
Is it possible use the same with snmpget? or is it specific to traps?

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

--
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231

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

Reply via email to