[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Zombie process using pppd



Hi,

On Wed, 08 Sep, 1999 à 08:30:35AM -0400, Mark Buda wrote:
> >>>>> "Alex" == Alex V Toropov <alex@ct.spb.ru> writes:
> 
>     Alex> In what situation process becomes Zombie ?
> 
> When a process exits, it can return an exit status code to its parent
> process. The parent process retrieves this exit status code by
> invoking the wait() system call. A zombie process is a process that
> has exited, but whose parent hasn't used wait() to get its exit status
> code yet. It isn't doing anything, it's just there in the list of
> processes, waiting to be wait()ed for, unable to really die until that
> happens.
> 
> Eventually, even if the neglectful parent process never wait()s for
> it, it will go away, for this reason: When a parent process exits,
> init (process id 1) inherits all its child processes. And one of
> init's less well-known jobs is wait()ing for orphaned zombie
> processes.

Is there a way to determine the neglecting parent of a zombi ? Such as to be
able to kill the parent if it's not a necessary program and letting init
inherits the zombi process.

-- 
 ( >-   Laurent PICOULEAU                                      -< )
 /~\       lcrpic@a2points.com                                  /~\
|  \)    Linux : mettez un pingouin dans votre ordinateur !    (/  |
 \_|_    Seuls ceux qui ne l'utilisent pas en disent du mal.   _|_/


Reply to: