From 0c7c338d6d49e95a215fc58a8e1718aa109e7208 Mon Sep 17 00:00:00 2001 From: Dale McDiarmid Date: Fri, 27 Nov 2015 19:42:52 +0000 Subject: [PATCH] Minor change for template --- templates/elasticsearch.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/elasticsearch.j2 b/templates/elasticsearch.j2 index d940425..60e4ccf 100644 --- a/templates/elasticsearch.j2 +++ b/templates/elasticsearch.j2 @@ -66,6 +66,7 @@ ES_GROUP={{es_group}} # When using Systemd, this setting is ignored and the LimitNOFILE defined in # /usr/lib/systemd/system/elasticsearch.service takes precedence {% if es_max_open_files is defined %} +#MAX_OPEN_FILES MAX_OPEN_FILES={{es_max_open_files}} {% endif %} @@ -75,6 +76,7 @@ MAX_OPEN_FILES={{es_max_open_files}} # When using Systemd, the LimitMEMLOCK property must be set # in /usr/lib/systemd/system/elasticsearch.service {% if m_lock_enabled %} +#MAX_LOCKED_MEMORY= MAX_LOCKED_MEMORY=unlimited {% endif %}