This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lev-veshnyakov
Recipients davin, lev-veshnyakov
Date 2016-11-15.16:32:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479227571.84.0.620532176484.issue28696@psf.upfronthosting.co.za>
In-reply-to
Content
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')
History
Date User Action Args
2016-11-15 16:32:51lev-veshnyakovsetrecipients: + lev-veshnyakov, davin
2016-11-15 16:32:51lev-veshnyakovsetmessageid: <1479227571.84.0.620532176484.issue28696@psf.upfronthosting.co.za>
2016-11-15 16:32:51lev-veshnyakovlinkissue28696 messages
2016-11-15 16:32:51lev-veshnyakovcreate