On Mon, Sep 27, 2010 at 10:53 AM, wrote:
> On 02:45 pm, landrevi...@deadtreepages.com 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
On 02:45 pm, landrevi...@deadtreepages.com 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
-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 b