diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-12-23 15:05:26 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-12-23 15:05:26 +0000 |
commit | 97befd17758b3f0b01d5d540dcfb05cd7dc931b8 (patch) | |
tree | 70778cd97aa50c2e1dc993f7387de6323a650585 | |
parent | 9ba14ac9db40ae7e3b0896ab64b3970fec2946ee (diff) | |
download | nginx-97befd17758b3f0b01d5d540dcfb05cd7dc931b8.tar.gz nginx-97befd17758b3f0b01d5d540dcfb05cd7dc931b8.zip |
lower the log level of the waitpid() ENOCHILD error on FreeBSD
-rw-r--r-- | src/os/unix/ngx_process.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 */ |