Subject: Re: Zombie processes
To: Brett Lymn <blymn@baesystems.com.au>
From: Douglas Egan <degan@calcon.net>
List: netbsd-help
Date: 04/17/2001 21:53:37
Thanks Brett,

Turns out that it is the rpc.pcnfsd process that is the parent of the 2 zombies.
pcnfsd wasn't working for me and maybe this is a hint.   Looks like I need a
different pcnfsd.   This one is from the distribution.  Any suggestions?

Thanks again,

Doug Egan

Brett Lymn wrote:

> According to Douglas Egan:
> >
> >"Jeremy C. Reed" wrote:
> >
> >>
> >>
> >> On Tue, 17 Apr 2001, Douglas Egan wrote:
> >> > > Not sure where they are coming from - possibly ssh or netscape.
> >>
> >> What are they called (command name and arguments)?
> >
> >root   9262  0.0  0.0     0     0 ?? Z          - 0:00.00 (sh)
> >root   9273  0.0  0.0     0     0 ?? Z          - 0:00.00 (sh)
> >
>
> What is their PPID?  This will be the process that is spawning the
> shells and not waiting for a status on them.  Do a "ps -al", check the
> PPID column for the parent process of the zombies and go attack that
> process for being a bad parent and not waiting on it's children.  Oh,
> except if the PPID is 1, this means that the parent has exited and
> left init with the children but in this case init should just do a
> wait(2) on the children and clean them up.
>
> --
> ===============================================================================
> Brett Lymn, Computer Systems Administrator, BAE SYSTEMS
> ===============================================================================