Klaus Demo nginx / d52c878
grammar fix Igor Sysoev 14 years ago
1 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
451451 *
452452 * When several processes exit at the same time FreeBSD may
453453 * erroneously call the signal handler for exited process
454 * despite waitpid() may be already called for this process
454 * despite waitpid() may be already called for this process.
455455 */
456456
457457 if (err == NGX_ECHILD) {
506506
507507 if (WEXITSTATUS(status) == 2 && ngx_processes[i].respawn) {
508508 ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0,
509 "%s %P exited with fatal code %d and could not respawn",
510 process, pid, WEXITSTATUS(status));
509 "%s %P exited with fatal code %d "
510 "and can not be respawn",
511 process, pid, WEXITSTATUS(status));
511512 ngx_processes[i].respawn = 0;
512513 }
513514 }