I recently found that ES service stops after few hours of activity. I am using version 1.5.2 and the server contains 8g of RAM and 155g of heap. I changed value of ES_HEAP_SIZE=1024m in /etc/default/elasticsearch file, but it did not work. I did not find any significant in ES logs. What should be the cause behind this? Do I set a crontab for restarting the service after 5 hours of duration? Though it is not a proper way to resolve, I would have to do if I do not find anything to solve this.
Can you post the content of the _cat/health API? Is Elasticsearch the only thing running on this host?
I fond following by hitting _cat/health commands.
$ curl localhost:9200/_cat/health
1569476694 11:14:54 elasticsearch yellow 1 1 11 11 0 0 11 0
$ curl localhost:9200/_cat/health?v&ts=0
epoch timestamp cluster status node.total node.data shards pri relo init unassign pending_tasks
1569476807 11:16:47 elasticsearch yellow 1 1 11 11 0 0 11 0
yellow status indicates?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.