# Locking the Memory

**URL:** <https://discuss.elastic.co/t/locking-the-memory/180852>\
**Category:** Elasticsearch\
**Created:** [May 13, 2019, 5:16pm UTC](https://discuss.elastic.co/t/locking-the-memory/180852 "2019-05-13T17:16:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![snorris](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@snorris](https://discuss.elastic.co/u/snorris)\
**Post date:** [May 13, 2019, 5:16pm UTC](https://discuss.elastic.co/t/locking-the-memory/180852/1 "2019-05-13T17:16:09Z")

</div>

Need help locking the memory. I followed the instructions provided by Elasticsearch for my version to a “T,” however I on Linux nodes I get the dreaded “memory locking requested but memory not locked.” I have had to revert a snapshot to save the cluster so config files related to this don’t exist any longer; save the defaults in Elasticsearch.yml. I can repeat if necessary; but I’m hoping someone else has encountered this issue. Please advise.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 10, 2019, 5:16pm UTC](https://discuss.elastic.co/t/locking-the-memory/180852/2 "2019-06-10T17:16:19Z")

</div>

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