Max_file_descriptors missing in /_nodes/process?pretty


#1

Hello,

Version of Elastic Search: 2
Operating System: Ubuntu 14.04
Installation method: Package.

I am trying to ensure that the max file descriptors settings are reasonable so I don't have problems down the road. However, when I curl localhost:9200/_nodes/process?pretty, max_file_descriptors is missing. The following is what I get instead

{
  "cluster_name" : "elasticsearch",
  "nodes" : {
    "Q94ojkFkT06PlMuqOiofdA" : {
      "name" : "Armageddon",
      "transport_address" : "127.0.0.1:9300",
      "host" : "127.0.0.1",
      "ip" : "127.0.0.1",
      "version" : "2.0.0",
      "build" : "de54438",
      "http_address" : "127.0.0.1:9200",
      "process" : {
        "refresh_interval_in_millis" : 1000,
        "id" : 5158,
        "mlockall" : false
      }
    }
  }
}

Why is it missing?

I noticed in the /etc/init.d/elasticsearch script max file descriptors are being set

$ grep MAX_OPEN_FILE /etc/init.d/elasticsearch
MAX_OPEN_FILES=65535
    if [ -n "$MAX_OPEN_FILES" ]; then
        ulimit -n $MAX_OPEN_FILES

And I verified that the last line runs. Is that sufficient to say the above max is being set? I am happy with 65535, so long as it's actually being set. My file max should accommodate this:

$ cat /proc/sys/fs/file-max
201484

Thank you,
Elbee


(Awick) #2

Looks like it was moved to curl localhost:9200/_nodes/stats?pretty


(system) #3