Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #8861 > unrolled thread

How do twisted and multiprocessing.Process create zombies?

Started bybitcycle <sean.m.ochoa@gmail.com>
First post2011-07-05 14:52 -0700
Last post2011-07-07 01:22 +0100
Articles 4 — 4 participants

Back to article view | Back to comp.lang.python


Contents

  How do twisted and multiprocessing.Process create zombies? bitcycle <sean.m.ochoa@gmail.com> - 2011-07-05 14:52 -0700
    Re: How do twisted and multiprocessing.Process create zombies? Stefan Behnel <stefan_ml@behnel.de> - 2011-07-06 02:47 +0200
    Re: How do twisted and multiprocessing.Process create zombies? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-07-05 22:26 -0700
    Re: How do twisted and multiprocessing.Process create zombies? Nobody <nobody@nowhere.com> - 2011-07-07 01:22 +0100

#8861 — How do twisted and multiprocessing.Process create zombies?

Frombitcycle <sean.m.ochoa@gmail.com>
Date2011-07-05 14:52 -0700
SubjectHow do twisted and multiprocessing.Process create zombies?
Message-ID<e5608dd5-c4f7-4c5a-84e6-32f865061ea9@glegroupsg2000goo.googlegroups.com>
In python, using twisted loopingcall, multiprocessing.Process, and multiprocessing.Queue; is it possible to create a zombie process. And, if so, then how?

[toc] | [next] | [standalone]


#8881

FromStefan Behnel <stefan_ml@behnel.de>
Date2011-07-06 02:47 +0200
Message-ID<mailman.670.1309913292.1164.python-list@python.org>
In reply to#8861
bitcycle, 05.07.2011 23:52:
> In python, using twisted loopingcall, multiprocessing.Process, and multiprocessing.Queue; is it possible to create a zombie process. And, if so, then how?

I think it's best to consult your local Voodoo master on the matter of 
zombie creation processes.

That being said, there are far too many zombies around already, so please 
don't add to that.

Stefan

[toc] | [prev] | [next] | [standalone]


#8896

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2011-07-05 22:26 -0700
Message-ID<mailman.682.1309930206.1164.python-list@python.org>
In reply to#8861
On Tue, 5 Jul 2011 14:52:49 -0700 (PDT), bitcycle
<sean.m.ochoa@gmail.com> declaimed the following in
gmane.comp.python.general:

> In python, using twisted loopingcall, multiprocessing.Process, and multiprocessing.Queue; is it possible to create a zombie process. And, if so, then how?

	I'd suggest you read your OS documentation on just what a zombie
process is... Then extrapolate that to what multiprocessing and twisted
are doing behind the scenes.
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [next] | [standalone]


#9001

FromNobody <nobody@nowhere.com>
Date2011-07-07 01:22 +0100
Message-ID<pan.2011.07.07.00.22.04.598000@nowhere.com>
In reply to#8861
On Tue, 05 Jul 2011 14:52:49 -0700, bitcycle wrote:

> In python, using twisted loopingcall, multiprocessing.Process, and
> multiprocessing.Queue; is it possible to create a zombie process. And, if
> so, then how?

A zombie is a process which has terminated but hasn't been wait()ed on
(aka "reaped") by its parent.

Most libraries which create child processes make some effort to reap them.
E.g. the subprocess module keeps a list of "orphaned" processes (those for
which the Popen object was deleted while the underlying process was still
alive), and polls the list periodically (specifically, whenever a new
Popen object is created).

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web