# Huge number of open files on data node with multiple paths

**URL:** <https://discuss.elastic.co/t/huge-number-of-open-files-on-data-node-with-multiple-paths/245272>\
**Category:** Elasticsearch\
**Created:** [August 17, 2020, 3:57pm UTC](https://discuss.elastic.co/t/huge-number-of-open-files-on-data-node-with-multiple-paths/245272 "2020-08-17T15:57:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luiz.ooliveira](https://avatars.discourse-cdn.com/v4/letter/l/90db22/32.png) [@luiz.ooliveira](https://discuss.elastic.co/u/luiz.ooliveira)\
**Post date:** [August 17, 2020, 3:57pm UTC](https://discuss.elastic.co/t/huge-number-of-open-files-on-data-node-with-multiple-paths/245272/1 "2020-08-17T15:57:41Z")

</div>

Hi,

I added a new data node to my cluster with a different configuration from the others.

I have 3 data nodes that use a single "path.data" and it is working fine. The new one was configured to use multiple data paths, as follows:

```
path.data:
 - /devops/data1
 - /devops/data2

```

The fact is in this data node the number of open files just increase all the time and now is in ~400000 file descriptors.

```
ls /proc/29144/fd/ | wc -l
394819

```

I'm getting this node disconnected from my master nodes repeatedly and I'm assuming that open file descriptors is the reason:

```
[2020-08-17T12:47:08,398][DEBUG][o.e.a.s.m.TransportMasterNodeAction] [elk05-data] no known master node, scheduling a retry
[2020-08-17T12:47:08,398][DEBUG][o.e.a.s.m.TransportMasterNodeAction] [elk05-data] no known master node, scheduling a retry
[2020-08-17T12:47:08,593][DEBUG][o.e.a.s.m.TransportMasterNodeAction] [elk05-data] no known master node, scheduling a retry
[2020-08-17T12:47:24,396][DEBUG][o.e.a.s.m.TransportMasterNodeAction] [elk05-data] no known master node, scheduling a retry
[2020-08-17T12:47:24,396][DEBUG][o.e.a.s.m.TransportMasterNodeAction] [elk05-data] no known master node, scheduling a retry

```

Am I missing something here? Any configuration that I should have made in first place?

Any reason to this server behave so differently from the ones with single data path?

---

<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:** [September 14, 2020, 3:57pm UTC](https://discuss.elastic.co/t/huge-number-of-open-files-on-data-node-with-multiple-paths/245272/2 "2020-09-14T15:57:44Z")

</div>

Closed on September 14, 2020, 3:57pm UTC

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