Mercurial > hg > nginx
diff src/os/unix/ngx_process.c @ 943:cbe0292e53b3
lower the log level of the waitpid() ENOCHILD error on FreeBSD
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 23 Dec 2006 15:05:26 +0000 |
parents | deb2ce14a500 |
children | 957085b56da3 |
line wrap: on
line diff
--- a/src/os/unix/ngx_process.c +++ b/src/os/unix/ngx_process.c @@ -444,10 +444,14 @@ ngx_process_get_status(void) return; } -#if (NGX_SOLARIS) +#if (NGX_SOLARIS || NGX_FREEBSD) /* * Solaris always calls the signal handler for each exited process + * despite waitpid() may be already called for this process. + * + * When several processes exit at the same time FreeBSD may + * erroneously call the signal handler for exited process * despite waitpid() may be already called for this process */