-
Notifications
You must be signed in to change notification settings - Fork 23
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
child process cannot be terminated with SIGTERM #48
Comments
+1 |
man sigprocmask:
|
Argh, only half the job... |
I replaced ignoring signals by blocking signals so that signals can be restored easier in the child process. |
Should I put the fix for the annoying SigPipe message #43 into this branch, too? I would also like to clean up spaces and tabs. |
Since V6.6.1, to be exact since commit 291c7a0 "Make signal handling safe using pselect.", the child process started by procServ cannot be terminated with SIGTERM any longer. In particular --killsig 15 does not work.
The reason is probably that the child inherits the signal mask which blocks SIGTERM (and SIGPIPE and SIGHUP).
Signal mask should be reset to "normal" for the child.
The text was updated successfully, but these errors were encountered: