-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Missing documentation for configuring TCP keepalives #45081
Comments
Pinging @elastic/es-docs |
Pinging @elastic/es-distributed |
The docs also also mentions that
What other types of connections are meant here? TCP keep-alives is OS-specific feature, so it's better not to rely on them if possible and recommend using transport.ping_schedule instead. |
We discussed the issue on the team meeting and it seems that despite our custom pings could be better for transport connections (because they are platform-independent), there are other connection types, where we just could not implement custom pings. This includes, for example, HTTP connections established to S3/GCS/Azure for snapshotting, HTTP connections established by watcher, etc. |
There is an issue about adding docs for firewall configuration, see #14848. Probably we should document TCP keep-alive configuration along with firewall configuration. |
[doc issue triage] |
Repeatedly dropped connections (unreliable network) will severely impact Elasticsearch's operations if long-lived idle connections are not preserved between nodes. As part of improving the documentation in this area, I would also like to see this important piece somewhere at the installation/setup level of our documentation given the number of transport disconnect issues we have seen in the field due to not having keep alive. I propose that we cross-reference this topic under " Important System Configuration" (https://www.elastic.co/guide/en/elasticsearch/reference/current/system-config.html)? The reason being that it is unlikely for an admin to end up here (https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-transport.html#_long_lived_idle_connections) unless they specifically read about the transport module. |
This issue is now resolved. |
The docs currently mention that
The docs don't mention how to configure this for any of the supported platforms, and also do not mention concrete values for the system-level keepalive parameters. In particular, the docs state that configuration system-level keepalives is the preferred way.
The text was updated successfully, but these errors were encountered: