Skip to content

Update documentation to prevent dropping tcp connections #5067

@spinscale

Description

@spinscale

See mailinglist thread https://groups.google.com/d/msg/elasticsearch/hRQRLW-9zAo/Wm24krbQ8roJ

I found out that a firewall in the middle was dropping open connections with x amount of time of inactivity.
ES wasn't really happy with this apparently.

Solution:

set network.tcp.keep_alive true

Add following params to sysctl.conf:

net.ipv4.tcp_keepalive_time = 60
net.ipv4.tcp_keepalive_probes = 6
net.ipv4.tcp_keepalive_intvl = 10

I think it makes sense to at least mention this somewhere in the docs in order to help the people.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions