pkcs#11 – nginx got “Segmentation fault (core dumped)” 2 times
I would like to make nginx reload periodically. However, after many times of observation, I realized after second reload, nginx always got “Segmentation fault (core dumped)” and stopped running. I’ve checked with another similar questions, their answers mentioned “perl” error. But it might be not my case. I did not find 50-mod-http-perl.conf or module libnginx-mod-http-perl installed.
Here is the log from nginx.
2025/11/24 20:13:25 [notice] 2373#2373: using the "epoll" event method
2025/11/24 20:13:25 [notice] 2373#2373: nginx/1.29.3
2025/11/24 20:13:25 [notice] 2373#2373: built by gcc 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04.2)
2025/11/24 20:13:25 [notice] 2373#2373: OS: Linux 6.8.0-51-generic
2025/11/24 20:13:25 [notice] 2373#2373: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2025/11/24 20:13:27 [notice] 2373#2373: signal 1 (SIGHUP) received from 2374, reconfiguring
2025/11/24 20:13:27 [info] 2373#2373: epoll_wait() failed (4: Interrupted system call)
2025/11/24 20:13:27 [notice] 2373#2373: reconfiguring
2025/11/24 20:13:27 [notice] 2373#2373: using the "epoll" event method
2025/11/24 20:13:57 [notice] 2373#2373: signal 1 (SIGHUP) received from 2375, reconfiguring
2025/11/24 20:13:57 [info] 2373#2373: epoll_wait() failed (4: Interrupted system call)
2025/11/24 20:13:57 [notice] 2373#2373: reconfiguring
2025/11/24 20:13:57 [notice] 2373#2373: using the "epoll" event method
2025/11/24 20:13:59 [notice] 2373#2373: signal 2 (SIGINT) received, exiting
2025/11/24 20:13:59 [info] 2373#2373: epoll_wait() failed (4: Interrupted system call)
2025/11/24 20:13:59 [notice] 2373#2373: exit
nginx 1.29.1 was installed from binary, and start by nginx -c /etc/nginx/nginx.conf. To be more concrete, here is from my nginx configuration, might it be a problem?
master_process off;
daemon off;
ssl_engine pkcs11;
Please give me some suggestion.
Thank you.
Read more here: Source link
