Re: init's children list is long and slows reaping children.

Jeremy Fitzhardinge
2007-04-06T21:05:25Z

Eric W. Biederman wrote:
> I'm guessing the issue is nash just calls wait and doesn't check the
> returned pid value, assuming it is the only child it forked returning.
> Which is valid except when you are running as pid == 1.
>

Hm, that's always a bug; a process can always have children it doesn't
expect (think forking, and then the parent execs).

J