-
Notifications
You must be signed in to change notification settings - Fork 8.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
[docker] Set server.shutdownTimeout to match default docker stop timeout #100494
Conversation
The default setting for `server.shutdownTimeout` is 30s. Docker's default stop behavior is to send a SIGKILL after 10s. This sets the graceful shutdown behavior to be inline with Docker defaults. Related to elastic#97223. Closes elastic#97658
Pinging @elastic/kibana-operations (Team:Operations) |
@afharo do you think it would be prudent to set this below 10s? My understanding is this is closer to http stop than process exit, right? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you for doing this @jbudz
That's a very good point! Yes, that setting only affects the timeout for the graceful shutdown of the HTTP server. Other dependencies like the ES client might require some time to be stopped afterwards. |
💚 Build SucceededMetrics [docs]Unknown metric groupsReferences to deprecated APIs
History
To update your PR or re-run it, just comment with: |
💔 Backport failed
To backport manually run: |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
1 similar comment
Friendly reminder: Looks like this PR hasn’t been backported yet. |
7.x: ff6a5a8 |
The default setting for
server.shutdownTimeout
is 30s. Docker'sdefault stop behavior is to send a SIGKILL after 10s. This sets the
graceful shutdown behavior to be inline with Docker defaults.
Related to #97223. Closes #97658