Hi Mark,

I don't know if this will help, but out of the
numerous ways I tried this is the only way I could
solve the zombie issue in MP2 on Solaris 8:

use POSIX 'WNOHANG';
use POSIX ":sys_wait_h";
my($kid);
do {
      $kid=waitpid(-1,WNOHANG);
} until $kid <= 0;

if(!(defined ($pid = fork())))
{
   ...


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to