Skip to content
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

Make shutdown wait time configurable for packages #3972

Closed
spinscale opened this issue Oct 25, 2013 · 1 comment
Closed

Make shutdown wait time configurable for packages #3972

spinscale opened this issue Oct 25, 2013 · 1 comment
Labels
:Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts >feature Team:Delivery Meta label for Delivery team

Comments

@spinscale
Copy link
Contributor

Enable a configurable delay for shutting down. This means, that firs a TERM signal for regular shutdown is sent, then the configured time is waited for, and the if the service is still up a KILL signal is sent.

Goal is to use the same parameter for the Redhat and Debian package

spinscale added a commit to spinscale/elasticsearch that referenced this issue Aug 22, 2014
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
spinscale added a commit to spinscale/elasticsearch that referenced this issue Sep 8, 2014
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
@clintongormley clintongormley added the :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts label Dec 24, 2014
@clintongormley
Copy link

Decided against doing this. Closing

@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts >feature Team:Delivery Meta label for Delivery team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants