# Mlockall needs to be docuemented for systemd

**URL:** <https://discuss.elastic.co/t/mlockall-needs-to-be-docuemented-for-systemd/23449>\
**Category:** Elasticsearch\
**Created:** [April 28, 2015, 7:04pm UTC](https://discuss.elastic.co/t/mlockall-needs-to-be-docuemented-for-systemd/23449 "2015-04-28T19:04:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karl\_Putland](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karl_putland/32/719_2.png) [@Karl\_Putland](https://discuss.elastic.co/u/Karl_Putland)\
**Post date:** [April 28, 2015, 7:04pm UTC](https://discuss.elastic.co/t/mlockall-needs-to-be-docuemented-for-systemd/23449/1 "2015-04-28T19:04:23Z")

</div>

drwxr-xr-x. 26 root root 12288 Apr 28 14:57 .  
[root@node8 system]# diff -u elasticsearch.service.2015-04-28@14:57~  
elasticsearch.service  
--- elasticsearch.service.2015-04-28@14:57~ 2015-04-27  
05:34:43.000000000 -0400  
+++ elasticsearch.service 2015-04-28 14:57:21.606106000 -0400  
@@ -12,7 +12,7 @@

# See MAX\_OPEN\_FILES in sysconfig

LimitNOFILE=65535

# See MAX\_LOCKED\_MEMORY in sysconfig, use "infinity" when

MAX\_LOCKED\_MEMORY=unlimited and using bootstrap.mlockall: true  
-#LimitMEMLOCK=infinity  
+LimitMEMLOCK=infinity

# Shutdown delay in seconds, before process is tried to be killed with

KILL (if configured)  
TimeoutStopSec=20

Karl Putland  
Senior Engineer  
_SimpleSignal_  
Anywhere: 303-242-8608  
[http://www.simplesignal.com/explainer\_video.php](http://www.simplesignal.com/explainer_video.php)

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CA%2BEXWsx4Bi8GpKfyGT2oUL8zTfY6u1z8X6mZAyr40Of4tJCdTQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CA%2BEXWsx4Bi8GpKfyGT2oUL8zTfY6u1z8X6mZAyr40Of4tJCdTQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [April 28, 2015, 9:30pm UTC](https://discuss.elastic.co/t/mlockall-needs-to-be-docuemented-for-systemd/23449/2 "2015-04-28T21:30:08Z")

</div>

This has been raised in [mlockall: false despite being configured · Issue #9357 · elastic/elasticsearch · GitHub](https://github.com/elastic/elasticsearch/issues/9357)

On 29 April 2015 at 05:04, Karl Putland [karl@simplesignal.com](mailto:karl@simplesignal.com) wrote:

> drwxr-xr-x. 26 root root 12288 Apr 28 14:57 .  
> [root@node8 system]# diff -u elasticsearch.service.2015-04-28@14:57~  
> elasticsearch.service  
> --- elasticsearch.service.2015-04-28@14:57~ 2015-04-27  
> 05:34:43.000000000 -0400  
> +++ elasticsearch.service 2015-04-28 14:57:21.606106000 -0400  
> @@ -12,7 +12,7 @@
> 
> # See MAX\_OPEN\_FILES in sysconfig
> 
> LimitNOFILE=65535
> 
> # See MAX\_LOCKED\_MEMORY in sysconfig, use "infinity" when
> 
> MAX\_LOCKED\_MEMORY=unlimited and using bootstrap.mlockall: true  
> -#LimitMEMLOCK=infinity  
> +LimitMEMLOCK=infinity
> 
> # Shutdown delay in seconds, before process is tried to be killed with
> 
> KILL (if configured)  
> TimeoutStopSec=20
> 
> Karl Putland  
> Senior Engineer  
> _SimpleSignal_  
> Anywhere: 303-242-8608  
> [http://www.simplesignal.com/explainer\_video.php](http://www.simplesignal.com/explainer_video.php)
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CA%2BEXWsx4Bi8GpKfyGT2oUL8zTfY6u1z8X6mZAyr40Of4tJCdTQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CA%2BEXWsx4Bi8GpKfyGT2oUL8zTfY6u1z8X6mZAyr40Of4tJCdTQ%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CA%2BEXWsx4Bi8GpKfyGT2oUL8zTfY6u1z8X6mZAyr40Of4tJCdTQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CA%2BEXWsx4Bi8GpKfyGT2oUL8zTfY6u1z8X6mZAyr40Of4tJCdTQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X-U\_DCuq\_kc%2B4mBvwLGO\_Z0Ht5U%2BrwioudiccrOtNWq3g%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X-U_DCuq_kc%2B4mBvwLGO_Z0Ht5U%2BrwioudiccrOtNWq3g%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:17am UTC](https://discuss.elastic.co/t/mlockall-needs-to-be-docuemented-for-systemd/23449/3 "2017-07-06T00:17:13Z")

</div>


