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

Sean Ochoa sean.m.ochoa at gmail.com
Tue Jul 5 18:36:25 EDT 2011


I like glyph's answer.  :)

http://stackoverflow.com/questions/6589225/how-do-twisted-and-multiprocessing-process-create-zombies/6589440#6589440



On Tue, Jul 5, 2011 at 3:00 PM, <exarkun at twistedmatrix.com> wrote:

> 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,
> >if
> >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
> zombie.
>
> If you *don't* want zombies, use reactor.spawnProcess (or a library on
> top of it, like Ampoule) instead.
>
> Jean-Paul
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>



-- 
Sean | (206) 962-7954
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20110705/4d734ee5/attachment.htm 


More information about the Twisted-Python mailing list