[Twisted-web] Proxy Could not accept new connection

dave fowler davefowler at gmail.com
Thu Aug 6 18:22:27 EDT 2009


I guys.  I'm running a twisted web proxy and after a day or so of usage it
stops working and start spitting out these errors.

2009/08/05 14:04 +0000 [__main__.ProxyFactory] Could not accept new
connection (EMFILE)
2009/08/05 14:04 +0000 [__main__.ProxyFactory] Could not accept new
connection (EMFILE)
2009/08/05 14:04 +0000 [__main__.ProxyFactory] Could not accept new
connection (EMFILE)
2009/08/05 14:04 +0000 [__main__.ProxyFactory] Could not accept new
connection (EMFILE)
2009/08/05 14:04 +0000 [__main__.ProxyFactory] Could not accept new
connection (EMFILE)
2009/08/05 14:04 +0000 [__main__.ProxyFactory] Could not accept new
connection (EMFILE)

Can anyone expand on what this error is or suggestions on fixing it or
debugging further?

What is the EMFILE?

My best guess is that there's some limit on the # of connections and that
for whatever reason connections are not being closed...  If I'm right I need
to determine if this is referring to server side or client side connections
and how to get them to close/time out.

Dave Fowler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20090806/de7fb92e/attachment.htm 


More information about the Twisted-web mailing list