Mercurial > hg > nginx
comparison src/os/unix/ngx_process.c @ 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 | deb2ce14a500 |
children | 957085b56da3 |
comparison
equal
deleted
inserted
replaced
942:7ddc5345fb4f | 943:cbe0292e53b3 |
---|---|
442 | 442 |
443 if (err == NGX_ECHILD && one) { | 443 if (err == NGX_ECHILD && one) { |
444 return; | 444 return; |
445 } | 445 } |
446 | 446 |
447 #if (NGX_SOLARIS) | 447 #if (NGX_SOLARIS || NGX_FREEBSD) |
448 | 448 |
449 /* | 449 /* |
450 * Solaris always calls the signal handler for each exited process | 450 * Solaris always calls the signal handler for each exited process |
451 * despite waitpid() may be already called for this process. | |
452 * | |
453 * When several processes exit at the same time FreeBSD may | |
454 * erroneously call the signal handler for exited process | |
451 * despite waitpid() may be already called for this process | 455 * despite waitpid() may be already called for this process |
452 */ | 456 */ |
453 | 457 |
454 if (err == NGX_ECHILD) { | 458 if (err == NGX_ECHILD) { |
455 ngx_log_error(NGX_LOG_INFO, ngx_cycle->log, errno, | 459 ngx_log_error(NGX_LOG_INFO, ngx_cycle->log, errno, |