cleg
unread,Nov 16, 2010, 4:14:50 AM11/16/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Tornado Web Server
Hello
I've user multiprocessing module to start my tornado server during
unit tests (and shutdown it after test run). But few days ago I've
started to recieve the following stacktraces:
Process Process-1:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/multiprocessing/process.py", line 231, in _bootstrap
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/multiprocessing/process.py", line 88, in run
self._target(*self._args, **self._kwargs)
File "/Users/clegger/Projects/zzz/zzz-server/src/broker.py", line
88, in main
http_server.listen(http_port)
File "/Users/clegger/Projects/zzz/zzz-server/eggs/tornado-1.1-
py2.6.egg/tornado/httpserver.py", line 155, in listen
self.start(1)
File "/Users/clegger/Projects/zzz/zzz-server/eggs/tornado-1.1-
py2.6.egg/tornado/httpserver.py", line 217, in start
ioloop.IOLoop.READ)
File "/Users/clegger/Projects/zzz/zzz-server/eggs/tornado-1.1-
py2.6.egg/tornado/ioloop.py", line 151, in add_handler
self._impl.register(fd, events | self.ERROR)
File "/Users/clegger/Projects/zzz/zzz-server/eggs/tornado-1.1-
py2.6.egg/tornado/ioloop.py", line 429, in register
self._control(fd, events, select.KQ_EV_ADD)
File "/Users/clegger/Projects/zzz/zzz-server/eggs/tornado-1.1-
py2.6.egg/tornado/ioloop.py", line 452, in _control
self._kqueue.control([kevent], 0)
OSError: [Errno 9] Bad file descriptor
Possibly, this happened after updating to 10.6.5, but I'm not sure.
What this could be?