PySNMP Thread unsafe?

rob.audenaerde at gmail.com rob.audenaerde at gmail.com
Mon Jul 24 05:21:10 EDT 2006


I'm trying to monitor about 250 devices with SNMP, using PySNMP version
4. I use the threading.Thread to create a threadpool of 10 threads, so
devices not responding won't slow down the monitoring process too much.


Here comes my problem. When using PySNMP single threaded, every this
goes well; but if I create 10 threads, it all goes awry... It seems
PySNMP is not thread safe? Can anyone elaborate on this?




More information about the Python-list mailing list