From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,bee968b4f86bfc67 X-Google-Attributes: gidf678f,public From: millerb@pt9526.ped.pto.ford.com (Bryan Miller) Subject: How to ignore SIGCLD and not produce zombies? Date: 1996/09/13 Message-ID: <51c1mr$58s@pt9201.ped.pto.ford.com>#1/1 X-Deja-AN: 180413135 organization: Ford Motor Co., Powertrain Electronics reply-to: millerb@ACM.org newsgroups: comp.unix.osf.misc I have a server that listens to a well know port and forks off children upon request. Since the server cannot wait for the children to die before going back to the port to listen it produces defunct (zombie) processes. Isn't there a way to start the server with SIGCLD set to ignore? I currently stop the server periodically to reap the defunct processes and then restart the server. All ideas are welcome since this is causing untold pain and angst ;-) The current method that I use does not seem to work on Digital Unix but does work well on Sun and HP. regards, Bryan ---------------------------------------------------------- Bryan Miller | Powertrain Electronics | Control Systems Software| "Nil Sine Numine" bmiller6@ford.com |