Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

worker process exited on signal 11 #310

Open
hexw opened this issue Sep 10, 2022 · 1 comment
Open

worker process exited on signal 11 #310

hexw opened this issue Sep 10, 2022 · 1 comment

Comments

@hexw
Copy link

hexw commented Sep 10, 2022

nginx 版本
nginx version: openresty/1.21.4.1
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
built with OpenSSL 1.1.1q 5 Jul 2022
TLS SNI support enabled
configure arguments: --prefix=/usr/local/openresty/nginx --with-cc-opt=-O2 --add-module=../ngx_devel_kit-0.3.1 --add-module=../echo-nginx-module-0.62 --add-module=../xss-nginx-module-0.06 --add-module=../ngx_coolkit-0.2 --add-module=../set-misc-nginx-module-0.33 --add-module=../form-input-nginx-module-0.12 --add-module=../encrypted-session-nginx-module-0.09 --add-module=../srcache-nginx-module-0.32 --add-module=../ngx_lua-0.10.21 --add-module=../ngx_lua_upstream-0.07 --add-module=../headers-more-nginx-module-0.33 --add-module=../array-var-nginx-module-0.05 --add-module=../memc-nginx-module-0.19 --add-module=../redis2-nginx-module-0.15 --add-module=../redis-nginx-module-0.3.9 --add-module=../rds-json-nginx-module-0.15 --add-module=../rds-csv-nginx-module-0.09 --add-module=../ngx_stream_lua-0.0.11 --with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib -ljemalloc' --with-pcre --with-stream --with-http_ssl_module --with-http_realip_module --with-threads --with-stream_ssl_preread_module --with-stream_ssl_module --with-http_v2_module --with-http_gzip_static_module --with-http_stub_status_module --with-openssl=/opt/softs/openssl-1.1.1q --add-module=/opt/softs/openresty-1.21.4.1/modules/ngx_log_if_module --add-module=/opt/softs/openresty-1.21.4.1/modules/ngx_dynamic_upstream --add-module=/opt/softs/openresty-1.21.4.1/modules/ngx_upstream_check_module --add-module=/opt/softs/openresty-1.21.4.1/modules/ngx-upsync-module --add-module=/opt/softs/openresty-1.21.4.1/modules/ngx-module-vts --with-openssl-opt=-g --with-stream
nginx 配置
worker_processes 4;时,启动后出现,worker_processes 为1时正常
upsync 配置
upsync 127.0.0.1:8500/v1/health/service/zhtcc upsync_timeout=6m upsync_interval=5s upsync_type=consul_health strong_dependency=off;
upsync_dump_path /usr/local/openresty/nginx/conf/servers/servers_zhtccApp.conf;
nginx error.log
2022/09/10 09:51:16 [notice] 29383#29383: signal process started
2022/09/10 09:51:16 [error] 29376#29376: [WARN]:upsync_clear_all_events: on 29376
2022/09/10 09:51:16 [error] 27589#27589: [WARN]:upsync_clear_all_events: on 27589
2022/09/10 09:51:16 [error] 27642#27642: [WARN]:upsync_clear_all_events: on 27642
2022/09/10 09:51:16 [error] 29377#29377: [WARN]:upsync_clear_all_events: on 29377
2022/09/10 09:51:24 [alert] 29393#29393: worker process 29396 exited on signal 11
2022/09/10 09:51:24 [alert] 29393#29393: worker process 29395 exited on signal 11
2022/09/10 09:51:24 [alert] 29393#29393: worker process 29394 exited on signal 11
2022/09/10 09:51:29 [alert] 29393#29393: worker process 29405 exited on signal 11
2022/09/10 09:51:29 [alert] 29393#29393: worker process 29407 exited on signal 11
2022/09/10 09:51:30 [alert] 29393#29393: worker process 29406 exited on signal 11
2022/09/10 09:51:34 [alert] 29393#29393: worker process 29422 exited on signal 11
2022/09/10 09:51:35 [alert] 29393#29393: worker process 29423 exited on signal 11
2022/09/10 09:51:35 [alert] 29393#29393: worker process 29425 exited on signal 11
2022/09/10 09:51:40 [alert] 29393#29393: worker process 29434 exited on signal 11
2022/09/10 09:51:40 [alert] 29393#29393: worker process 29433 exited on signal 11
2022/09/10 09:51:41 [alert] 29393#29393: worker process 29435 exited on signal 11
2022/09/10 09:51:46 [alert] 29393#29393: worker process 29448 exited on signal 11
2022/09/10 09:51:46 [alert] 29393#29393: worker process 29449 exited on signal 11
2022/09/10 09:51:46 [alert] 29393#29393: worker process 29447 exited on signal 11
2022/09/10 09:51:51 [alert] 29393#29393: worker process 29463 exited on signal 11
2022/09/10 09:51:51 [alert] 29393#29393: worker process 29461 exited on signal 11
2022/09/10 09:51:52 [alert] 29393#29393: worker process 29462 exited on signal 11

consul 日志
2022-09-10T09:51:16.736+0800 [INFO] agent.http: Request cancelled: method=GET url=/v1/health/service/zhtcc?recurse&index=1117 from=127.0.0.1:53176 error="context canceled"
2022-09-10T09:51:16.736+0800 [INFO] agent.http: Request cancelled: method=GET url=/v1/health/service/zhtcc?recurse&index=1117 from=127.0.0.1:53178 error="context canceled"
2022-09-10T09:51:16.739+0800 [INFO] agent.http: Request cancelled: method=GET url=/v1/health/service/zhtcc?recurse&index=1117 from=127.0.0.1:56314 error="context canceled"
2022-09-10T09:51:16.739+0800 [INFO] agent.http: Request cancelled: method=GET url=/v1/health/service/zhtcc?recurse&index=1117 from=127.0.0.1:56316 error="context canceled"

@hexw
Copy link
Author

hexw commented Sep 10, 2022

worker_processes 大于1时就会报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant