Changing max_file_descriptors for elastic 1.7.1 on mac


(Preetika Shukla) #1

Hi,

I am trying to modify the max_file_descriptors for elastic search node, I've followed the post suggested by https://gist.github.com/tamitutor/6a1e41eec0ce021a9718, and made the changes, still when i try to curl to _nodes/process API , I get the following response -
"process" : {
"refresh_interval_in_millis" : 1000,
"id" : 2104,
"max_file_descriptors" : 10240,
"mlockall" : false
}
Any suggestions will be hugely appreciated.


#2

You can also try the suggestions here:

http://blog.mact.me/2014/10/22/yosemite-upgrade-changes-open-file-limit

Updating .bash_profile (sourcing it or restarting ES in a new session) appears to work.


(system) #3