-
Notifications
You must be signed in to change notification settings - Fork 2k
Nginx - Worker Process Crash (Lua Parser) #2158
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
Comments
(gdb) bt |
can you provide the gdb backtrace of the crash? |
[nginx-1.22.0]# gdb /usr/local/nginx/sbin/nginx /tmp/core.1464 |
I'm trying to understand why the worker processes are crashing:
2023/02/23 17:48:49 [alert] 12431#0: worker process 12433 exited on signal 11
2023/02/23 17:48:49 [alert] 12431#0: cache manager process 12434 exited on signal 11
2023/02/23 17:48:49 [alert] 12431#0: cache loader process 12435 exited on signal 11
2023/02/23 17:48:49 [alert] 12431#0: worker process 12432 exited on signal 11
2023/02/23 17:48:49 [alert] 12431#0: worker process 12436 exited on signal 11
nginx version: nginx/1.22.0
lua-nginx-module-0.10.9rc7
ngx_devel_kit-0.3.1
http {
lua_package_cpath "/usr/local/src/lua-cjson-2.1.0/?.so;;";
init_by_lua_block {
cjson = require "cjson"
-- cjson2 = cjson.new()
}
init_worker_by_lua_block {
}
}
open the init_worker_by_lua_block tag ,when restart nginx. then nginx work crash
root 7225 1 0 Feb23 ? 00:00:06 nginx: master process /usr/local/nginx/sbin/nginx
root 8215 7225 0 09:20 ? 00:00:00 [nginx]
root 8216 7225 0 09:20 ? 00:00:00 [nginx]
root 8218 30804 0 09:20 pts/7 00:00:00 grep --color=auto nginx
root 8219 7225 0 09:20 ? 00:00:00 nginx: master process /usr/local/nginx/sbin/nginx
The text was updated successfully, but these errors were encountered: