Hi Team,
What is the use of the parameter in elasticsearch.yml file bootstrap.memory_lock
and how it impacts the performance of elastic cluster. Is it related JVM heap memory.
Please help me to understand.
Thanks,
Debasis
Hi Team,
What is the use of the parameter in elasticsearch.yml file bootstrap.memory_lock
and how it impacts the performance of elastic cluster. Is it related JVM heap memory.
Please help me to understand.
Thanks,
Debasis
See these docs:
TLDR we recommend you do not set bootstrap.memory_lock
and instead just disable all swapping.
Thanks. As per the thread , we need to set the bootstrap.memory_lock: true
but in our environment once we updated the yml file the service get failed. So not able to digest the relation between JVM and the above parameter. Could you please help me to understand this parameter.
try to lock the process address space into RAM, preventing any Elasticsearch heap memory from being swapped out.
Thanks,
Debasis
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.