[Solved] [2.4.3] I've set ulimit to 65000, but it keeps on showing up as 10240 when elasticsearch starts up. Is elasticsearch showing the valid max_file_descriptors?
Thanks
edit:
I took @jasontedor advise from below. I set ulimit in bash_profile or bashrc or zshrc. I started ES with this command. ES_JAVA_OPTS="-XX:-MaxFDLimit" ./bin/elasticsearch worked like magic.
This does not work since at least Yosemite, maybe sooner. If you want to go the launchd route, you have to create /Library/LaunchDaemons/limit.maxfiles.plist with the following content:
edit: This is working for me now! I put the ulimit -n 65536 in my .bash_profile an everything started working. Thanks!
Yeah I reviewed everything I did that you suggested....for some reason my max_file_discriptors when down. I started ES with ES_JAVA_OPTS="-XX:-MaxFDLimit" ./bin/elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.