Move to memory_lock
This commit is contained in:
parent
7efec96ea9
commit
4edc56f104
8 changed files with 18 additions and 19 deletions
|
|
@ -41,7 +41,7 @@ StandardError=inherit
|
|||
LimitNOFILE={{es_max_open_files}}
|
||||
|
||||
# Specifies the maximum number of bytes of memory that may be locked into RAM
|
||||
# Set to "infinity" if you use the 'bootstrap.{% if es_version | version_compare('5.0', '<=') %}memory_lock{% else %}mlockall{% endif %}: true' option
|
||||
# Set to "infinity" if you use the 'bootstrap.memory_lock: true' option
|
||||
# in elasticsearch.yml and 'MAX_LOCKED_MEMORY=unlimited' in {{instance_default_file}}
|
||||
{% if m_lock_enabled %}
|
||||
LimitMEMLOCK=infinity
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue