We are migrating to Elastic Search 5.2.1, and are in development phase. Elastic Search server is hosted on Unix environment. We were able to install server with plugin.
But when server is started, its giving following error and get shut down. (Error persists when we run without plugin).
ERROR: bootstrap checks failed
max file descriptors [32768] for elasticsearch process is too low, increase to at least [65536]
max virtual memory areas vm.max_map_count [65536] is too low, increase to at least [262144]
So “max file descriptors” and “max virtual memory” are they sufficient as mentioned in log above or if they should be adjusted higher or lower.
They both need to be adjusted to at least the values that are recommended there (65536 for the max number of file descriptors, which you currently have set to 32768, and 262144 for vm.max_map_count which you currently have set to 65536).
Hi, is there a way to come to an exact number for these values depending upon the production host? We will definitely add the minimum needed values for vm.max_map_count and ulimit for now. But just wanted to make sure if these values will work on different hosts? Thanks!
The values that you see here are the minimum required for any host, and they should generally be fine for any host as long as you're not doing anything silly like allocating 65536 shards to a single node.
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.