# Elastic down when I ask for more than 6 days

**URL:** <https://discuss.elastic.co/t/elastic-down-when-i-ask-for-more-than-6-days/240336>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [July 8, 2020, 11:38am UTC](https://discuss.elastic.co/t/elastic-down-when-i-ask-for-more-than-6-days/240336 "2020-07-08T11:38:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ISR\_FY](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/isr_fy/32/55543_2.png) [@ISR\_FY](https://discuss.elastic.co/u/ISR_FY)\
**Post date:** [July 8, 2020, 11:38am UTC](https://discuss.elastic.co/t/elastic-down-when-i-ask-for-more-than-6-days/240336/1 "2020-07-08T11:38:10Z")

</div>

Morning team.

Actually, I have a problem with my ElasticStack. I have crashes on my main elastic search when i ask in grafana dashboards for more than 6 days.

The memory and CPU is high but I`ve increased the CPU and mem unsuccessfully. In logs I`ve seen some error about GC and I need help to locate the issue for queries with a weeks time.  
Now, I have 5 servers Elasticsearch with 4 CPU, 15GB mem(7G for heap)  
"active\_primary\_shards" : 467  
"active\_shards" : 468

Maybe, I need to decrease the primary shards...

BR

---

<div class="post-metadata">

**Author:** ![defalt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/defalt/32/71379_2.png) [@defalt](https://discuss.elastic.co/u/defalt)\
**Post date:** [July 8, 2020, 11:53am UTC](https://discuss.elastic.co/t/elastic-down-when-i-ask-for-more-than-6-days/240336/2 "2020-07-08T11:53:25Z")

</div>

Yea, that are a lot of shards. Try to merge or delte them. Look here: [Link](https://www.elastic.co/blog/how-many-shards-should-i-have-in-my-elasticsearch-cluster).  
Also, why grafana and not kibana?

---

<div class="post-metadata">

**Author:** ![ISR\_FY](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/isr_fy/32/55543_2.png) [@ISR\_FY](https://discuss.elastic.co/u/ISR_FY)\
**Post date:** [July 8, 2020, 12:06pm UTC](https://discuss.elastic.co/t/elastic-down-when-i-ask-for-more-than-6-days/240336/3 "2020-07-08T12:06:33Z")

</div>

It is a bad "habit" in my company. I`m triying to change from Grafana to Kibana.

Thnx.

---

<div class="post-metadata">

**Author:** ![ISR\_FY](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/isr_fy/32/55543_2.png) [@ISR\_FY](https://discuss.elastic.co/u/ISR_FY)\
**Post date:** [July 9, 2020, 6:40am UTC](https://discuss.elastic.co/t/elastic-down-when-i-ask-for-more-than-6-days/240336/4 "2020-07-09T06:40:48Z")

</div>

Trying to merge the shards... nope.  
I will try to delete some shards because the merge has not solved the issue with the mem.

---

<div class="post-metadata">

**Author:** ![defalt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/defalt/32/71379_2.png) [@defalt](https://discuss.elastic.co/u/defalt)\
**Post date:** [July 9, 2020, 7:53am UTC](https://discuss.elastic.co/t/elastic-down-when-i-ask-for-more-than-6-days/240336/5 "2020-07-09T07:53:47Z")

</div>

How large are your shards and indices?

---

<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:** [August 6, 2020, 7:53am UTC](https://discuss.elastic.co/t/elastic-down-when-i-ask-for-more-than-6-days/240336/6 "2020-08-06T07:53:50Z")

</div>

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