# Not able to fetch max file descriptors

**URL:** <https://discuss.elastic.co/t/not-able-to-fetch-max-file-descriptors/63454>\
**Category:** Elasticsearch\
**Created:** [October 19, 2016, 11:40pm UTC](https://discuss.elastic.co/t/not-able-to-fetch-max-file-descriptors/63454 "2016-10-19T23:40:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![redshadow](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@redshadow](https://discuss.elastic.co/u/redshadow)\
**Post date:** [October 19, 2016, 11:40pm UTC](https://discuss.elastic.co/t/not-able-to-fetch-max-file-descriptors/63454/1 "2016-10-19T23:40:47Z")

</div>

I used the link here : [https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-configuration.html#file-descriptors](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-configuration.html#file-descriptors)

My query was the same as noted in the link above ie  
curl localhost:9200/\_nodes/stats/process?pretty

I substituted the localhost:9200 with the master node in the environment.

However, the response I get for each node only includes the open file descriptors under processes, and does NOT include the max file descriptors. Not sure what I am missing!

---

<div class="post-metadata">

**Author:** ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)\
**Post date:** [October 20, 2016, 12:16am UTC](https://discuss.elastic.co/t/not-able-to-fetch-max-file-descriptors/63454/2 "2016-10-20T00:16:43Z")

</div>

What version of ES are you using? I just tried with 2.3.5 and see both "open\_file\_descriptors" and "max\_file\_descriptors"

---

<div class="post-metadata">

**Author:** ![redshadow](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@redshadow](https://discuss.elastic.co/u/redshadow)\
**Post date:** [October 20, 2016, 12:30am UTC](https://discuss.elastic.co/t/not-able-to-fetch-max-file-descriptors/63454/3 "2016-10-20T00:30:28Z")

</div>

I am using 2.4.1. Did you query the ES master node (that's what I issue a query against)

---

<div class="post-metadata">

**Author:** ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)\
**Post date:** [October 20, 2016, 1:42pm UTC](https://discuss.elastic.co/t/not-able-to-fetch-max-file-descriptors/63454/4 "2016-10-20T13:42:23Z")

</div>

Hm, could you gist up the complete response somewhere?

You could also try just the \_node/stats endpoint directly (e.g. no "process" filtering) although it shouldn't make a difference.

I did happen to query my master node, but it shouldn't matter: the API request will collect the node stats from all nodes in the cluster internally, regardless of which one you talk to.

---

<div class="post-metadata">

**Author:** ![redshadow](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@redshadow](https://discuss.elastic.co/u/redshadow)\
**Post date:** [October 20, 2016, 4:45pm UTC](https://discuss.elastic.co/t/not-able-to-fetch-max-file-descriptors/63454/5 "2016-10-20T16:45:48Z")

</div>

Here's a brief excerpt:

{  
"cluster\_name" : "prd-11",  
"nodes" : {  
"modifiedABCDZ\_7AXXX" : {  
"timestamp" : 1476981826175,  
"name" : "indexer1",  
"transport\_address" : "inet[/1.13.3.20:9303]",  
"host" : "indexer1.prd",  
"ip" : ["inet[/1.13.3.20:9303]", "NONE" ],  
"attributes" : {  
"client" : "true",  
"data" : "false",  
"master" : "false"  
},  
"process" : {  
"timestamp" : 1476981826175,  
"open\_file\_descriptors" : 4660  
}  
},

---

<div class="post-metadata">

**Author:** ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)\
**Post date:** [October 20, 2016, 5:04pm UTC](https://discuss.elastic.co/t/not-able-to-fetch-max-file-descriptors/63454/6 "2016-10-20T17:04:14Z")

</div>

What OS are you on? Perhaps it's not available on your platform?

---

<div class="post-metadata">

**Author:** ![redshadow](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@redshadow](https://discuss.elastic.co/u/redshadow)\
**Post date:** [October 21, 2016, 5:16pm UTC](https://discuss.elastic.co/t/not-able-to-fetch-max-file-descriptors/63454/7 "2016-10-21T17:16:34Z")

</div>

I am using a linux box on amazon aws for data and master nodes

---

<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:** [July 5, 2017, 10:10pm UTC](https://discuss.elastic.co/t/not-able-to-fetch-max-file-descriptors/63454/8 "2017-07-05T22:10:28Z")

</div>


