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


Groups > comp.lang.python > #9001

Re: How do twisted and multiprocessing.Process create zombies?

From Nobody <nobody@nowhere.com>
Subject Re: How do twisted and multiprocessing.Process create zombies?
Date 2011-07-07 01:22 +0100
Message-Id <pan.2011.07.07.00.22.04.598000@nowhere.com>
Newsgroups comp.lang.python
References <e5608dd5-c4f7-4c5a-84e6-32f865061ea9@glegroupsg2000goo.googlegroups.com>
Organization Zen Internet

Show all headers | View raw


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).

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web