From 778eaa4b4597dd9ce96435a106f9fba8bc18ae0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=A8=81?= Date: Thu, 22 Mar 2018 15:41:17 +0800 Subject: [PATCH] Nginx : a more friendly hint If the f-stack primary process hasn't been initialized successful, the nginx master gives a more friendly hint. --- app/nginx-1.11.10/src/os/unix/ngx_process_cycle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/nginx-1.11.10/src/os/unix/ngx_process_cycle.c b/app/nginx-1.11.10/src/os/unix/ngx_process_cycle.c index 2f092e47..34c90291 100644 --- a/app/nginx-1.11.10/src/os/unix/ngx_process_cycle.c +++ b/app/nginx-1.11.10/src/os/unix/ngx_process_cycle.c @@ -440,7 +440,7 @@ ngx_start_worker_processes(ngx_cycle_t *cycle, ngx_int_t n, ngx_int_t type) if (r == -1) { ngx_log_error(NGX_LOG_ERR, cycle->log, ngx_errno, - "start worker processes sem_timedwait"); + "primary worker process failed to initialize"); exit(2); }