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

Re: zombies



Oswald Buddenhagen wrote:
> 
> > > Today I noticed the following:
 ...
> > > Under which circumstances does a process turn into a zombie? I assume
> > > this applies to UNIX in general.
> >
> > zombies are what is left from child processes when the parents thereof
> > do not wait() for them, but exit() instead.
> >
> that's wrong ...
> if the parent process would exit, then it's children would be inherited by
> init, which would make a wait() upon the sigchld it will receive, when the
> child exits.
> long-time zombies typically indicate a locked up parent process.

Ah, yes.  I'd caught myself, but you beat me to it:  good work!



Reply to: