# Unable to lock JVM after failed Snapshot

**URL:** <https://discuss.elastic.co/t/unable-to-lock-jvm-after-failed-snapshot/276019>\
**Category:** Elasticsearch\
**Created:** [June 15, 2021, 2:33pm UTC](https://discuss.elastic.co/t/unable-to-lock-jvm-after-failed-snapshot/276019 "2021-06-15T14:33:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Junebee](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@Junebee](https://discuss.elastic.co/u/Junebee)\
**Post date:** [June 15, 2021, 2:33pm UTC](https://discuss.elastic.co/t/unable-to-lock-jvm-after-failed-snapshot/276019/1 "2021-06-15T14:33:48Z")

</div>

I have a three data node and one ingest node cluster.

I recently had a node fail during a snapshot and it brought down my entire stack which had been running well for almost 6 months. When I went to restart the failed node, I'm 'getting this error: "Unable to lock JVM Memory: error=12".

I have restarted nodes before and this issue has never occurred before therefore I don't believe this is a JVM locking issue but an issue with the failed snapshot having locked up something programmatically. Does anyone have any suggestions on how to correct this?

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 15, 2021, 11:21pm UTC](https://discuss.elastic.co/t/unable-to-lock-jvm-after-failed-snapshot/276019/2 "2021-06-15T23:21:54Z")

</div>

What do your logs show when this happened?  
What version are you on?

---

<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:** [July 13, 2021, 11:22pm UTC](https://discuss.elastic.co/t/unable-to-lock-jvm-after-failed-snapshot/276019/3 "2021-07-13T23:22:47Z")

</div>

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