the zombies may hang around until next reboot. always good to use that code to reap the zombies
> -----Original Message----- > From: Ahmed Moustafa [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 10, 2002 12:14 AM > To: [EMAIL PROTECTED] > Subject: How does ZOMBIE/defunct affect the system? > > > If a Perl program generates ZOMBIE/defunct processes, how does that > affect the system? > > Do the following code avoid the ZOMBIE/defunct? > > # <code> > do { > $pid = waitpid (-1, &WNOHANG); > } until $pid == -1; > # </code> > > > Your help will be appreciated so much. > > -- > Ahmed Moustafa > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]