Not able to fetch max file descriptors


#1

I used the link here : 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!


(Zachary Tong) #2

What version of ES are you using? I just tried with 2.3.5 and see both "open_file_descriptors" and "max_file_descriptors"


#3

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


(Zachary Tong) #4

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.


#5

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
}
},


(Zachary Tong) #6

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


#7

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


(system) #8