[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly
Greg Brockman
report at bugs.python.org
Tue Jul 13 16:32:34 CEST 2010
Greg Brockman <gdb at ksplice.com> added the comment:
> What kind of errors are you having that makes the get() call fail?
Try running the script I posted. It will fail with an AttributeError (raised during unpickling) and hang.
I'll note that the particular issues that I've run into in practice are:
- OOM kill destroying my workers but leaving the parent silently waiting
- KeyboardInterrupting the workers, and then having the parent hang
This AttributeError problem is one that I discovered while generating test cases for the patch.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9205>
_______________________________________
More information about the Python-bugs-list
mailing list