# Elasticsearch 1.5.2 service stops after 5 - 6 hours

**URL:** <https://discuss.elastic.co/t/elasticsearch-1-5-2-service-stops-after-5-6-hours/201138>\
**Category:** Elasticsearch\
**Created:** [September 26, 2019, 5:04am UTC](https://discuss.elastic.co/t/elasticsearch-1-5-2-service-stops-after-5-6-hours/201138 "2019-09-26T05:04:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harsh\_Vadodaria](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harsh_vadodaria/32/52613_2.png) [@Harsh\_Vadodaria](https://discuss.elastic.co/u/Harsh_Vadodaria)\
**Post date:** [September 26, 2019, 5:04am UTC](https://discuss.elastic.co/t/elasticsearch-1-5-2-service-stops-after-5-6-hours/201138/1 "2019-09-26T05:04:09Z")

</div>

Dear all,

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.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [September 26, 2019, 5:26am UTC](https://discuss.elastic.co/t/elasticsearch-1-5-2-service-stops-after-5-6-hours/201138/2 "2019-09-26T05:26:05Z")

</div>

Can you post the content of the [\_cat/health API](https://www.elastic.co/guide/en/elasticsearch/reference/1.5/cat-health.html)? Is Elasticsearch the only thing running on this host?

---

<div class="post-metadata">

**Author:** ![Harsh\_Vadodaria](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harsh_vadodaria/32/52613_2.png) [@Harsh\_Vadodaria](https://discuss.elastic.co/u/Harsh_Vadodaria)\
**Post date:** [September 26, 2019, 5:53am UTC](https://discuss.elastic.co/t/elasticsearch-1-5-2-service-stops-after-5-6-hours/201138/3 "2019-09-26T05:53:49Z")

</div>

I fond following by hitting [\_cat/health](https://www.elastic.co/guide/en/elasticsearch/reference/1.5/cat-health.html) 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

What does `yellow` status indicates?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 24, 2019, 5:53am UTC](https://discuss.elastic.co/t/elasticsearch-1-5-2-service-stops-after-5-6-hours/201138/4 "2019-10-24T05:53:49Z")

</div>

Closed on October 24, 2019, 5:53am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
