[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

Antoine Pitrou report at bugs.python.org
Tue May 3 13:15:36 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

> Under what circumstances do we expect a ProcessPoolExecutor child
> process to be killed outside of the control of the
> ProcessPoolExecutor?

Killed by the user, or by an automatic device (such as the Linux OOM
killer), or crashed.

> If the user kills a child then maybe all we want to do is raise an
> exception rather than deadlock as a convenience.

That's what the patch does, roughly.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9205>
_______________________________________


More information about the Python-bugs-list mailing list