# Can someone help me to add comment on following post

**URL:** <https://discuss.elastic.co/t/can-someone-help-me-to-add-comment-on-following-post/83451>\
**Category:** Elasticsearch\
**Created:** [April 24, 2017, 6:47pm UTC](https://discuss.elastic.co/t/can-someone-help-me-to-add-comment-on-following-post/83451 "2017-04-24T18:47:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![avr](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@avr](https://discuss.elastic.co/u/avr)\
**Post date:** [April 24, 2017, 6:47pm UTC](https://discuss.elastic.co/t/can-someone-help-me-to-add-comment-on-following-post/83451/1 "2017-04-24T18:47:20Z")

</div>

Hi

I was looking for an issue mentioned on following post:

> [@Memory lock not working](https://discuss.elastic.co/t/memory-lock-not-working/70576):
>
> I'm running a Fedora 25 ec2 image with elasticsearch 5.1.1 This are my settings: /etc/elasticsearch/elasticsearch.yml bootstrap.memory\_lock: true /usr/lib/systemd/system/elasticsearch.service LimitMEMLOCK=infinity /etc/sysconfig/elasticsearch MAX\_LOCKED\_MEMORY=unlimited /etc/security/limits.conf \* soft memlock unlimited \* hard memlock unlimited even after that I'm still getting: Unable to lock JVM Memory: error=12, reason=Cannot allocate memory Increase…

I resolved that issue with the help of following answer on [stackexchange](https://discuss.elastic.co/t/memory-lock-not-working/70576):

> you should close all active sessions windows. They still remember the old values. In other words, log out and back in. Every remote new session or a local secure shell take effect of the limits changes.

Now, I want to add the above answer to the post but as it is closed I couldn't add any comments to that post. Can someone from admin group help me to add the comment so that it could help someone in future.

@Christian_Dahlqvist @dadoonet @warkolm @jasontedor Can you please look into this?

---

<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:** [May 22, 2017, 6:55pm UTC](https://discuss.elastic.co/t/can-someone-help-me-to-add-comment-on-following-post/83451/2 "2017-05-22T18:55:13Z")

</div>

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