From 97befd17758b3f0b01d5d540dcfb05cd7dc931b8 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sat, 23 Dec 2006 15:05:26 +0000 Subject: lower the log level of the waitpid() ENOCHILD error on FreeBSD --- src/os/unix/ngx_process.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/os/unix/ngx_process.c') 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 */ -- cgit v1.2.3