From: Igor Sysoev Date: Sat, 23 Dec 2006 15:05:26 +0000 (+0000) Subject: lower the log level of the waitpid() ENOCHILD error on FreeBSD X-Git-Tag: release-0.5.5~8 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=97befd17758b3f0b01d5d540dcfb05cd7dc931b8;p=nginx.git lower the log level of the waitpid() ENOCHILD error on FreeBSD --- diff --git a/src/os/unix/ngx_process.c b/src/os/unix/ngx_process.c index a1454b6fd..9bd78f78e 100644 --- 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 */