[issue25829] Mixing multiprocessing pool and subprocess may create zombie process, and cause program to hang.

R. David Murray report at bugs.python.org
Wed Dec 9 10:34:35 EST 2015


R. David Murray added the comment:

Well, it sounds more like a problem of posix fork semantics.  What you need is to prevent workers from being spawned while the subprocess is running, which the multiprocessing API may not support (I'm not that familiar with it), and which might or might not work for your application in any case depending on what you are using each one for.

I'm not sure there's much Python can do to mitigate this problem, but I'll leave answering that to the experts :)

----------
nosy: +gps, r.david.murray, sbt

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


More information about the Python-bugs-list mailing list