What I actually did /etc/security/limits.conf elasticsearch hard memlock 100000 /etc/default/elasticsearch