Message256881
> Why are you using 20000 threads?
That's a good question.
In any case it looks like self-pipe sock's buffer was overflown because call_soon_threadsafe was called too many times, and loop._read_from_self couldn't empty the buffer promptly. Then, at some point, _write_to_self failed with an IOError.
It looks like this was fixed for the selector loop, but not for proactor:
selector_events.py:
def _write_to_self(self):
csock = self._csock
if csock is not None:
try:
csock.send(b'\0')
except OSError:
if self._debug:
logger.debug("Fail to write a null byte into the "
"self-pipe socket",
exc_info=True)
proactor_events.py:
def _write_to_self(self):
self._csock.send(b'\0') |
|
Date |
User |
Action |
Args |
2015-12-22 23:18:47 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, vstinner, kernel0, josephgordon |
2015-12-22 23:18:47 | yselivanov | set | messageid: <1450826327.7.0.197956514376.issue23846@psf.upfronthosting.co.za> |
2015-12-22 23:18:47 | yselivanov | link | issue23846 messages |
2015-12-22 23:18:47 | yselivanov | create | |
|