[Twisted-Python] new epoll error after upgrading to 9.0.0
Alec Matusis
matusis at yahoo.com
Thu Feb 11 19:16:39 EST 2010
I upgraded to 9.0.0 and I am now seeing a new error, not present in 8.2.0 or
earlier:
2010-02-10 17:38:33-0800 [TagProtocol,9794986,68.126.204.104] Unhandled
Error
Traceback (most recent call last):
File
"/usr/local/encap/python-2.6.4/lib/python2.6/site-packages/Twisted-9.0.0-py2
.6-linux-x86_64.egg/twisted/application/app.py", line 348, in
runReactorWithLogging
reactor.run()
File
"/usr/local/encap/python-2.6.4/lib/python2.6/site-packages/Twisted-9.0.0-py2
.6-linux-x86_64.egg/twisted/internet/base.py", line 1166, in run
self.mainLoop()
File
"/usr/local/encap/python-2.6.4/lib/python2.6/site-packages/Twisted-9.0.0-py2
.6-linux-x86_64.egg/twisted/internet/base.py", line 1178, in mainLoop
self.doIteration(t)
File
"/usr/local/encap/python-2.6.4/lib/python2.6/site-packages/Twisted-9.0.0-py2
.6-linux-x86_64.egg/twisted/internet/epollreactor.py", line 194, in doPoll
log.callWithLogger(selectable, _drdw, selectable, fd, event)
--- <exception caught here> ---
File
"/usr/local/encap/python-2.6.4/lib/python2.6/site-packages/Twisted-9.0.0-py2
.6-linux-x86_64.egg/twisted/python/log.py", line 84, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File
"/usr/local/encap/python-2.6.4/lib/python2.6/site-packages/Twisted-9.0.0-py2
.6-linux-x86_64.egg/twisted/python/log.py", line 69, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File
"/usr/local/encap/python-2.6.4/lib/python2.6/site-packages/Twisted-9.0.0-py2
.6-linux-x86_64.egg/twisted/python/context.py", line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args,
**kw)
File
"/usr/local/encap/python-2.6.4/lib/python2.6/site-packages/Twisted-9.0.0-py2
.6-linux-x86_64.egg/twisted/python/context.py", line 37, in callWithContext
return func(*args,**kw)
File
"/usr/local/encap/python-2.6.4/lib/python2.6/site-packages/Twisted-9.0.0-py2
.6-linux-x86_64.egg/twisted/internet/epollreactor.py", line 223, in
_doReadOrWrite
self._disconnectSelectable(selectable, why, inRead)
File
"/usr/local/encap/python-2.6.4/lib/python2.6/site-packages/Twisted-9.0.0-py2
.6-linux-x86_64.egg/twisted/internet/posixbase.py", line 188, in
_disconnectSelectable
selectable.readConnectionLost(f)
File
"/usr/local/encap/python-2.6.4/lib/python2.6/site-packages/Twisted-9.0.0-py2
.6-linux-x86_64.egg/twisted/internet/tcp.py", line 508, in
readConnectionLost
self.connectionLost(reason)
File
"/usr/local/encap/python-2.6.4/lib/python2.6/site-packages/Twisted-9.0.0-py2
.6-linux-x86_64.egg/twisted/internet/tcp.py", line 513, in connectionLost
abstract.FileDescriptor.connectionLost(self, reason)
File
"/usr/local/encap/python-2.6.4/lib/python2.6/site-packages/Twisted-9.0.0-py2
.6-linux-x86_64.egg/twisted/internet/abstract.py", line 67, in
connectionLost
self.stopWriting()
File
"/usr/local/encap/python-2.6.4/lib/python2.6/site-packages/Twisted-9.0.0-py2
.6-linux-x86_64.egg/twisted/internet/abstract.py", line 267, in stopWriting
self.reactor.removeWriter(self)
File
"/usr/local/encap/python-2.6.4/lib/python2.6/site-packages/Twisted-9.0.0-py2
.6-linux-x86_64.egg/twisted/internet/epollreactor.py", line 145, in
removeWriter
self._remove(writer, self._writes, self._reads,
self._selectables, _epoll.OUT, _epoll.IN)
File
"/usr/local/encap/python-2.6.4/lib/python2.6/site-packages/Twisted-9.0.0-py2
.6-linux-x86_64.egg/twisted/internet/epollreactor.py", line 131, in _remove
self._poller._control(cmd, fd, flags)
File "_epoll.pyx", line 125, in _epoll.epoll._control
exceptions.IOError: [Errno 2] No such file or directory
The error is highy intemittent and occurs only under high connection client
rate. Any idea of what this could be?
More information about the Twisted-Python
mailing list