Mercurial > hg > nginx-quic
changeset 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 | 7ddc5345fb4f |
children | 656dfccf7481 |
files | src/os/unix/ngx_process.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
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 */