Re: [Twisted-Python] How do twisted and multiprocessing.Process create zombies?
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, wrote: > On 09:51 pm, sean.m.oc...@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@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > -- Sean | (206) 962-7954 ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Re: [Twisted-Python] How do twisted and multiprocessing.Process create zombies?
On 09:51 pm, sean.m.oc...@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@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
[Twisted-Python] How do twisted and multiprocessing.Process create zombies?
Using twisted loopingcall, multiprocessing.Process, and multiprocessing.Queue; is it possible to create a zombie process. And, if so, then how? -- bitcycle ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python