UNIX question

Richard Mathews lcc.richard at locus.ucla.edu
Sun Dec 15 08:20:06 AEST 1985


There have been several responses to this which indicated that zombies can
be cleaned up by having the parent call wait(2) (or in Berkeley compatible
systems, wait3(2)).  Under System V there is an alternate method that can
be used.  If the parent ignores SIGCLD, then the manual states that "the
calling process's child processes will not create zombie processes when
they terminate" (see signal(2)).  In reality (at least on a VAX) they do
create zombies, but the parent automatically cleans them up.  The effect is
the same.

Richard M. Mathews
Locus Computing Corporation		       lcc.richard at LOCUS.UCLA.EDU
					       lcc.richard at UCLA-CS
			  {ihnp4,ucivax,trwrb}!lcc!richard
       {randvax,sdcrdcf,ucbvax,trwspp}!ucla-cs!lcc!richard



More information about the Comp.unix.wizards mailing list