Bootstrap checks - memory is not locked

Hi guys,
I'm having problems with the bootstrap check on a RedHat box. I've searched around the forums and tried

[2017-09-20T11:40:41,836][ERROR][o.e.b.Bootstrap          ] [node1] node validation exception
[2] bootstrap checks failed
[1]: memory locking requested for elasticsearch process but memory is not locked
[2]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk

I have set the following in /usr/lib/systemd/system/elasticsearch.service


And in /etc/security/limits.conf I have

elasticsearch    hard    memlock         unlimited
elasticsearch    soft    memlock         unlimited
elasticsearch    -       nofile          65536

What am I missing?

Thanks in advance!


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