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

Change TCP keepalive defaults #116

Open
flobernd opened this issue Aug 15, 2024 · 0 comments
Open

Change TCP keepalive defaults #116

flobernd opened this issue Aug 15, 2024 · 0 comments

Comments

@flobernd
Copy link
Member

Based on a request by @DaveCTurner, clients should use consistent TCP keepalive defaults. See related issue for more details and reasoning to not follow the old RFC 9293.

The following defaults should be set:

  • TCP_KEEPIDLE = 300 s
  • TCP_KEEPINTVL = 1 s
  • TCP_KEEPCNT = 5

Related to https://github.com/elastic/devtools-team/issues/857

Microsoft itselfs recommends to lower the global defaults for e.g. Windows Server:
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/dd349797(v=ws.10)?redirectedfrom=MSDN

TCP_KEEPIDLE = KeepAliveTime
TCP_KEEPCNT = TcpMaxDataRetransmissions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant