[Twisted-Python] How do twisted and multiprocessing.Process create zombies?

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Tue Jul 5 16:00:35 MDT 2011

On 09:51 pm, sean.m.ochoa at gmail.com wrote:
>Using twisted loopingcall, multiprocessing.Process, and
>multiprocessing.Queue; is it possible to create a zombie process. And, 
>so, then how?

Uh, why would you want to create zombies?

Since Twisted installs a SIGCHLD handler, it's not unlikely that non- 
cooperating libraries that create subprocesses, such as the 
multiprocessing module, will miss their exit notification, leaving a 

If you *don't* want zombies, use reactor.spawnProcess (or a library on 
top of it, like Ampoule) instead.


More information about the Twisted-Python mailing list