Elasticsearch gets shut down automatically

March 4, 2022 . 1 MIN READ

/etc/elasticsearch/jvm.options

 

To prevent this scenario, place an upper limit on the fielddata by adding this setting to the config/elasticsearch.yml file:

indices.fielddata.cache.size:  20%

 

The circuit breaker limits can be specified in the config/elasticsearch.yml file, or can be updated dynamically on a live cluster:

PUT /_cluster/settings{  “persistent” : {    “indices.breaker.fielddata.limit” : “40%”   }}

Reference: https://discuss.elastic.co/t/elasticsearch-gets-shut-down-automatically/93114

https://stackoverflow.com/questions/52559655/elasticsearch-shuts-down-automatically-ubuntu

https://www.elastic.co/guide/en/elasticsearch/guide/current/_limiting_memory_usage.html

https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html#config-files-location

https://www.elastic.co/guide/en/elasticsearch/guide/current/_limiting_memory_usage.html

 

Leave a Reply

Your email address will not be published. Required fields are marked *