Lev Veshnyakov added the comment:
It's hanging in a while loop in _handle_workers,
/usr/lib/python3.4/multiprocessingpool.py:365.
I can't figure out what is the reason.
@staticmethod
def _handle_workers(pool):
thread = threading.current_thread()
# Keep maintaining workers until the cache gets drained, unless the pool
# is terminated.
while thread._state == RUN or (pool._cache and thread._state != TERMINATE):
pool._maintain_pool()
time.sleep(0.1)
# send sentinel to stop workers
pool._taskqueue.put(None)
util.debug('worker handler exiting')
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue28696>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com