Elasticsearch bootstrap checks failed issue

Hi,
I'm new elasticsearch version 5.X my previuos version in 2.2.1. when i start the latest version im facing below issue help me to resolve as soon as possible

    -sh-4.2$ /beep/envs/beepq/software/elasticsearch-5.2.1/bin/elasticsearch
[2017-02-16T02:18:19,336][WARN ][o.e.b.JNANatives         ] Unable to lock JVM Memory: error=12, reason=Cannot allocate memory
[2017-02-16T02:18:19,338][WARN ][o.e.b.JNANatives         ] This can result in part of the JVM being swapped out.
[2017-02-16T02:18:19,338][WARN ][o.e.b.JNANatives         ] Increase RLIMIT_MEMLOCK, soft limit: 65536, hard limit: 65536
[2017-02-16T02:18:19,339][WARN ][o.e.b.JNANatives         ] These can be adjusted by modifying /etc/security/limits.conf, for example:
        # allow user 'beepq' mlockall
        beepq soft memlock unlimited
        beepq hard memlock unlimited
[2017-02-16T02:18:19,339][WARN ][o.e.b.JNANatives         ] If you are logged in interactively, you will have to re-login for the new limits to take effect.
[2017-02-16T02:18:19,431][INFO ][o.e.n.Node               ] [vmwarehost.beepqal1.node1] initializing ...
[2017-02-16T02:18:19,509][INFO ][o.e.e.NodeEnvironment    ] [vmwarehost.beepqal1.node1] using [1] data paths, mounts [[/beep/data (/dev/mapper/vg_beep-lv_beep_data)]], net usable_space [71.1gb], net total_space [78.6gb], spins? [possibly], types [ext4]
[2017-02-16T02:18:19,509][INFO ][o.e.e.NodeEnvironment    ] [vmwarehost.beepqal1.node1] heap size [7.9gb], compressed ordinary object pointers [true]
[2017-02-16T02:18:19,697][INFO ][o.e.n.Node               ] [vmwarehost.beepqal1.node1] node name [vmwarehost.beepqal1.node1], node ID [Mnv6Z-5xRvmtdMj3zn2hRQ]
[2017-02-16T02:18:19,700][INFO ][o.e.n.Node               ] [vmwarehost.beepqal1.node1] version[5.2.1], pid[23510], build[db0d481/2017-02-09T22:05:32.386Z], OS[Linux/3.10.0-229.el7.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_71/25.71-b15]
[2017-02-16T02:18:20,462][INFO ][o.e.p.PluginsService     ] [vmwarehost.beepqal1.node1] loaded module [aggs-matrix-stats]
[2017-02-16T02:18:20,462][INFO ][o.e.p.PluginsService     ] [vmwarehost.beepqal1.node1] loaded module [ingest-common]
[2017-02-16T02:18:20,462][INFO ][o.e.p.PluginsService     ] [vmwarehost.beepqal1.node1] loaded module [lang-expression]
[2017-02-16T02:18:20,462][INFO ][o.e.p.PluginsService     ] [vmwarehost.beepqal1.node1] loaded module [lang-groovy]
[2017-02-16T02:18:20,462][INFO ][o.e.p.PluginsService     ] [vmwarehost.beepqal1.node1] loaded module [lang-mustache]
[2017-02-16T02:18:20,463][INFO ][o.e.p.PluginsService     ] [vmwarehost.beepqal1.node1] loaded module [lang-painless]
[2017-02-16T02:18:20,463][INFO ][o.e.p.PluginsService     ] [vmwarehost.beepqal1.node1] loaded module [percolator]
[2017-02-16T02:18:20,463][INFO ][o.e.p.PluginsService     ] [vmwarehost.beepqal1.node1] loaded module [reindex]
[2017-02-16T02:18:20,463][INFO ][o.e.p.PluginsService     ] [vmwarehost.beepqal1.node1] loaded module [transport-netty3]
[2017-02-16T02:18:20,463][INFO ][o.e.p.PluginsService     ] [vmwarehost.beepqal1.node1] loaded module [transport-netty4]
[2017-02-16T02:18:20,464][INFO ][o.e.p.PluginsService     ] [vmwarehost.beepqal1.node1] no plugins loaded
[2017-02-16T02:18:22,801][INFO ][o.e.n.Node               ] [vmwarehost.beepqal1.node1] initialized
[2017-02-16T02:18:22,801][INFO ][o.e.n.Node               ] [vmwarehost.beepqal1.node1] starting ...
[2017-02-16T02:18:22,984][INFO ][o.e.t.TransportService   ] [vmwarehost.beepqal1.node1] publish_address {10.63.79.118:9300}, bound_addresses {10.63.79.118:9300}
[2017-02-16T02:18:22,989][INFO ][o.e.b.BootstrapChecks    ] [vmwarehost.beepqal1.node1] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
ERROR: bootstrap checks failed
max file descriptors [32000] for elasticsearch process is too low, increase to at least [65536]
memory locking requested for elasticsearch process but memory is not locked
[2017-02-16T02:18:23,000][INFO ][o.e.n.Node               ] [vmwarehost.beepqal1.node1] stopping ...
[2017-02-16T02:18:23,021][INFO ][o.e.n.Node               ] [vmwarehost.beepqal1.node1] stopped
[2017-02-16T02:18:23,021][INFO ][o.e.n.Node               ] [vmwarehost.beepqal1.node1] closing ...
[2017-02-16T02:18:23,036][INFO ][o.e.n.Node               ] [vmwarehost.beepqal1.node1] closed

I believe everything is written in the logs:

max file descriptors [32000] for elasticsearch process is too low, increase to at least [65536]
memory locking requested for elasticsearch process but memory is not locked

You have to fix that. If you don't know how to fix it, search for bootstrap checks in the documentation. Everything is written there.

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