apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: Problem with child reaping on Tru64
Date Fri, 19 Apr 2002 17:19:18 GMT
Dave Hill <David.D.Hill@Compaq.com> writes:

> Hi all,
>         I have run into a problem on Compaq Tru64 with cgi processes
> being reaped when using with mpm worker.

committed to APR... for now it is enabled only on Tru64... (not the
right thing to do :) )

Thanks!

> ***************
> *** 105,110 ****
> --- 105,116 ----
>   #ifdef SA_INTERRUPT             /* SunOS */
>       act.sa_flags |= SA_INTERRUPT;
>   #endif
> + #ifdef SA_NOCLDWAIT
> +     /* this is required on Tru64 to cause child processes to
> +        disapear gracefully - XPG4 compatible */
> +     if((signo == SIGCHLD) && (func == SIG_IGN))
> +       act.sa_flags |= SA_NOCLDWAIT;
> + #endif
>       if (sigaction(signo, &act, &oact) < 0)
>           return SIG_ERR;
>       return oact.sa_handler;

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...

Mime
View raw message