# Data Nodes disconnected randomly

**URL:** https://discuss.elastic.co/t/data-nodes-disconnected-randomly/325071
**Category:** Elasticsearch
**Created:** [February 9, 2023, 12:38am UTC](https://discuss.elastic.co/t/data-nodes-disconnected-randomly/325071 "2023-02-09T00:38:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ignaciood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ignaciood/32/116994_2.png) [@ignaciood](https://discuss.elastic.co/u/ignaciood)
#### Post date: [February 9, 2023, 12:38am UTC](https://discuss.elastic.co/t/data-nodes-disconnected-randomly/325071/1 "2023-02-09T00:38:24Z")

</div>

Hi everyone,  
I have an Elasticsearch (7.10.2) cluster with 11 cluster nodes (3 master, 8 data).  
Randomly there are data nodes that start to disconnect from the cluster. The node is healthy but offline, it comes back online after about 15 minutes.  
Seeing different discussions on the subject, configure the TCP Keepalive:

- 

```
   net.ipv4.tcp_keepalive_time = 600

```

- 

```
   net.ipv4.tcp_keepalive_intvl = 60

```

- 

```
   net.ipv4.tcp_keepalive_probes = 20

```

Trying this configuration a few days the same problem occurred again.

Any other solution?

Thank you so much 🙂

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [February 9, 2023, 4:10am UTC](https://discuss.elastic.co/t/data-nodes-disconnected-randomly/325071/2 "2023-02-09T04:10:02Z")

</div>

7.10 is [EOL](https://www.elastic.co/support/eol) and no longer supported, you should be looking to upgrade as a matter of urgency.

> [@ignaciood](#):
>
> Randomly there are data nodes that start to disconnect from the cluster

You'd need to share your elasticsearch.yml and your logs for us to be able to comment further.

The output from the [`_cluster/stats?pretty&human` API](https://www.elastic.co/guide/en/elasticsearch/reference/8.4/cluster-stats.html) might also be helpful.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [February 9, 2023, 5:05am UTC](https://discuss.elastic.co/t/data-nodes-disconnected-randomly/325071/3 "2023-02-09T05:05:43Z")

</div>

What is in the logs of the nodes that are disconnecting? Given that you are using version 7.10.2, do you have any third party plugins installed that could affect the cluster behaviour?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 9, 2023, 5:06am UTC](https://discuss.elastic.co/t/data-nodes-disconnected-randomly/325071/4 "2023-03-09T05:06:26Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
