-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Enable a configurable delay for shutdown when calling killproc. #3719
Conversation
longer than others.
Not sure if this should be even longer. killproc() on RHEL calls checkpid, sleeps for a second, and then sleeps for the delay before calling checkpid a third time. |
Nice catch. Thanks! What do you consider a useful default here from your experience? |
That I'm not exactly sure. This is the first time I know of that we've On 09/18/2013 02:48 AM, Alexander Reelsen wrote:
|
This variable allows to configure the waiting time after a TERM signal has been sent. After that waiting time a KILL signal is sent to ensure the service is stopped. In case of a bigger installation the default values might be to slow, so it now is configurable. Also, we opted out from sending a KILL signal by default. This has to be explicitely done by using the ES_KILL_TIMEOUT variable. Original work done by @tmclaugh at the PR elastic#3719 Closes elastic#3719 Closes elastic#3972
Unnecessary via #3973 (nothingtodohere) |
@tmclaugh does your last comment we should close this? |
I closed this since it appears the work went forward in #3973 |
This variable allows to configure the waiting time after a TERM signal has been sent. After that waiting time a KILL signal is sent to ensure the service is stopped. In case of a bigger installation the default values might be to slow, so it now is configurable. Also, we opted out from sending a KILL signal by default. This has to be explicitely done by using the ES_KILL_TIMEOUT variable. Original work done by @tmclaugh at the PR elastic#3719 Closes elastic#3719 Closes elastic#3972
Useful as soem nodes may take longer than others.