-
Notifications
You must be signed in to change notification settings - Fork 147
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
Preventing SIGKILL #189
Comments
I believe that by UNIX guidelines, SIGKILL cannot be trapped. |
What I think bushig meant is not to trap any SIGKILL, but to not send any SIGKILL to processes if you don't want to. I have some processes that might take more than 5 seconds to gracefully stop, and honcho is killing them if they don't terminate in these 5 seconds. Disabling these behavior (or customizing it) through a command line argument would be great. |
So instead of:
it could be something like this:
|
Ah I see I misread that. Also it would probably be best to set KILL_WAIT to something sensible if the value passed in is bogus (say a string or negative value) for some reason. |
There should be a way to prevent sending SIGKILL to all processes on 5 seconds timeout. What about making KILL_WAIT environmental variable?
The text was updated successfully, but these errors were encountered: