Elastic Search 5.2.1: [Error]- max file descriptors and max virtual memory

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.

Any Input will be helpful for us.

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.

Good to know. No, we don't have those many shards! Thanks!

You're very welcome.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.