From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,98b8d04622a5f58e X-Google-Attributes: gid1164f8,public From: "L.A.Walker&Co." Subject: Re: Zombies are haunting me! HELP! Date: 1998/05/26 Message-ID: <356B767A.246CFA19@lawandco.com>#1/1 X-Deja-AN: 356828991 Content-Transfer-Encoding: 7bit References: <6kemtg$9e0@examiner.concentric.net> MIME-Version: 1.0 Reply-To: larry@lawandco.com To: William Clark Content-Type: text/plain; charset=us-ascii Organization: Larry A. Walker & Co. Newsgroups: comp.sys.dec William Clark wrote: > Hello there, > > I am writing c code on a DEC Alpha box running DEC Unix. > > I have created a daemon that forks a child to receive a file > from a remote process. > > Everything works great EXCEPT that I am collecting a zombie > for each terminated child process. > > I am using the signal function with SIGCHLD,SIG_IGN params before > I start the loop that waits for a sockets connection and forks > the child. > > I thought that would prevent zombies. > > Any ideas would be appreciated. Thanks in advance. > > billc Go to http://www.lawandco.com/research select FAQ and DOCs select FAQ-UNIX select 3.13 How do I get rid if zombie processes -- ############################################# Larry A. Walker President & Chief Engineer Larry A. Walker & Co. 736 Watford Ct. Sterling VA 20164 Voice and Fax: 703-450-2765 larry@lawandco.com http://www.lawandco.com Unix Software Engineering and the Practical Application of High Performance Networks #############################################