🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.folklore.computers
Article #624804

Re: The Peter Principle

#624804
From: John Levine
Date: Sun, 08 Jul 2018 01:11
17 lines
2128 bytes
In article <phrnhi$ea6$1...@dont-email.me>,
Charles Richmond  <nume...@aquaporin4.com> wrote:
>But if tye parent process exits before killing the child... you could 
>end up with a "zombie" process.

No, that's completely backwards.  A zombie is a process that has
exited, but its parent hasn't waited for it yet.  It has just enough
context to return the pid and status to the parent.

When a process exits, all of its children, alive and zombie, are made
children of the init process #1.  It is always in a wait() loop so
it'll reap the zombies and ignore them.

-- 
Regards,
John Levine, jo...@iecc.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly
Technical Details
Message-ID: <phrocu$jve$1@gal.iecc.com>
Path: mbox-mo1.pugleaf.net!z3-v6ni5032iti.0!nntp.google.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
References: <pho0pp$s4$1@dont-email.me> <phphlm$3jm$1@dont-email.me> <1bmuv2sklm.fsf@pfeifferfamily.net> <phrnhi$ea6$1@dont-email.me>

Show Full Headers
Complete Article Headers
X-Received: by 2002:a24:c105:: with SMTP id e5-v6mr6706202itg.13.1531012319431;        Sat, 07 Jul 2018 18:11:59 -0700 (PDT)
X-BeenThere: alt.folklore.computers@googlegroups.com
Received: by 2002:a02:84ca:: with SMTP id f68-v6ls1483683jai.5.gmail; Sat, 07 Jul 2018 18:11:58 -0700 (PDT)
X-Received: by 2002:a02:904a:: with SMTP id y10-v6mr6982462jaf.7.1531012318750;        Sat, 07 Jul 2018 18:11:58 -0700 (PDT)
MIME-Version: 1.0
Path: mbox-mo1.pugleaf.net!z3-v6ni5032iti.0!nntp.google.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: John Levine <jo...@taugh.com>
Newsgroups: alt.folklore.computers
Subject: Re: The Peter Principle
Date: Sun, 8 Jul 2018 01:11:58 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <phrocu$jve$1@gal.iecc.com>
References: <pho0pp$s4$1@dont-email.me> <phphlm$3jm$1@dont-email.me> <1bmuv2sklm.fsf@pfeifferfamily.net> <phrnhi$ea6$1@dont-email.me>
Injection-Date: Sun, 8 Jul 2018 01:11:58 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="20462"; mail-complaints-to="ab...@iecc.com"
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: jo...@iecc.com (John Levine)
Bytes: 1580
Lines: 16
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit