aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-12-23 15:05:26 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-12-23 15:05:26 +0000
commit97befd17758b3f0b01d5d540dcfb05cd7dc931b8 (patch)
tree70778cd97aa50c2e1dc993f7387de6323a650585
parent9ba14ac9db40ae7e3b0896ab64b3970fec2946ee (diff)
downloadnginx-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.c6
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
*/