-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Looks like a DeferredSemaphore might be your solution. Have a look at this article, which explains that + a lot more:
http://oubiwann.blogspot.com/2008/06/async-batching-with-twisted-walkthrough.html Arjan On 09/27/2010 04:45 PM, Landreville wrote: > I'm running an application that makes about 1300 snmp connections > every minute; I'm using utils.getProcessOutput with snmpget because > pysnmp throws an error when I try to run it. Now of course I get the > Too many open files error, but is the best way to handle this > increasing the limit on Linux or by implementing some sort of queue so > that there are only x number of the snmpget processes at a time? Is > there such a queue feature in twisted? > > > Thanks, > > Jason > > _______________________________________________ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkygr8cACgkQigE4AbflYeoQMACdHfBS6lEA5qZnkgy/0qzBuW5V fnwAoLFSTSU4uogGToqDF6l8eYv+WUpP =5H8w -----END PGP SIGNATURE----- _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python