Question on fork(), exec(), kill()
Doug Gwyn
gwyn at smoke.brl.mil
Fri May 17 14:16:49 AEST 1991
In article <1991May15.201821.15350 at colorado.edu> farnham at spot.Colorado.EDU (Farnham David) writes:
>I don't seem to have any problem killing the child, but after several
>iterations I run out of process space and I can no longer fork().
Sure -- processes continue to occupy slots in the process table,
and thus are counted against your process limit, until they are
successfully wait()ed on. Kill()ing them just makes zombies out
of the processes; wait() lays them to rest.
More information about the Comp.unix.questions
mailing list