Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!ai-lab!gnu!dstailey From: dstailey@gnu.ai.mit.edu (Doug Stailey) Newsgroups: comp.unix.wizards Subject: Re: forking and zombies in SYSV. Message-ID: <9992@life.ai.mit.edu> Date: 21 Aug 90 03:31:27 GMT References: <1990Aug19.210351.24632@dde.dk> <1990Aug20.133107.12516@lth.se> Sender: news@wheaties.ai.mit.edu Organization: MIT Laboratory for Computer Science Lines: 12 In article <1990Aug20.133107.12516@lth.se> jh@efd.lth.se (Joergen Haegg) writes: >A question about how to fork() in SYSV. > >I want to fork, and the parentprocess should continue without >doing a wait(). >When the child exits, it is transformed into a zombieprocess. >The zombie exists until the parent exits. >This is as it should be according to SVID. > >How do I avoid getting this zombie? > Try signal(SIGCHLD, SIG_IGN) to avoid generating zombies.