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

Re: zombies



> > Today I noticed the following:
> > 
> > 15444  ?  Z    0:00 (cron <zombie>)
> > 
> > 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.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
If Windows is the answer, I want the problems back!



Reply to: