Yury Selivanov added the comment:

Running out of time to debug this today.  I think this is a bug in CPython, in 
either socket or select module.  When I inject some debug code in selectors.py 
and replace KQueue with select(), I can see that the server thread's selector 
stops working at some point due to a EBADF error.

I think something similar is happening with the KQueue selector -- at some 
point it just stops to return events correctly.

Again, I might be wrong about this all, but this is what I think after 2.5 
hours of debugging.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27386>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to