# Elasticsearch getting very slow

**URL:** <https://discuss.elastic.co/t/elasticsearch-getting-very-slow/170828>\
**Category:** Elasticsearch\
**Created:** [March 5, 2019, 6:44am UTC](https://discuss.elastic.co/t/elasticsearch-getting-very-slow/170828 "2019-03-05T06:44:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shikhar\_singh](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@shikhar\_singh](https://discuss.elastic.co/u/shikhar_singh)\
**Post date:** [March 5, 2019, 6:44am UTC](https://discuss.elastic.co/t/elasticsearch-getting-very-slow/170828/1 "2019-03-05T06:44:16Z")

</div>

what i observed:

1. The kibana dashboards were not getting refreshed.
2. Navigating the kibana UI was very slow.

what i observed on the server side .

 ![58%20PM](https://us1.discourse-cdn.com/elastic/original/3X/5/a/5aa367ec56b60e007a28827cf2e4c09f39fb8472.png)

what i did as a work around

 ![09%20PM](https://us1.discourse-cdn.com/elastic/original/3X/f/8/f80ad79c5fc8266f3ab63924054057a8b883f595.jpeg)

after clearing the cache my ES/KIbana came back to normal

Can you please help me know the RCA for this , why ES was unable to use the buffered/cache memory ?

---

<div class="post-metadata">

**Author:** ![jbur](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbur/32/40484_2.png) [@jbur](https://discuss.elastic.co/u/jbur)\
**Post date:** [March 5, 2019, 3:08pm UTC](https://discuss.elastic.co/t/elasticsearch-getting-very-slow/170828/2 "2019-03-05T15:08:41Z")

</div>

Linux uses buff/cache to accelerate disk operations, and normally it will not take memory away from processes that need memory. Have any non-standard configuration parameters been implemented that would change the way Linux manages memory?

Also, are you having storage performance issues? If you run top, what do you see for %wa while the issue is occurring?

While you're searching for the root cause, you could try to tune the cache to avoid having to manually flush or drop the cache:  
[https://access.redhat.com/documentation/en-us/red\_hat\_enterprise\_linux/5/html/tuning\_and\_optimizing\_red\_hat\_enterprise\_linux\_for\_oracle\_9i\_and\_10g\_databases/sect-oracle\_9i\_and\_10g\_tuning\_guide-memory\_usage\_and\_page\_cache-tuning\_the\_page\_cache](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/tuning_and_optimizing_red_hat_enterprise_linux_for_oracle_9i_and_10g_databases/sect-oracle_9i_and_10g_tuning_guide-memory_usage_and_page_cache-tuning_the_page_cache)

I hope this helps. Please let us know what you find!

---

<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:** [April 2, 2019, 3:23pm UTC](https://discuss.elastic.co/t/elasticsearch-getting-very-slow/170828/3 "2019-04-02T15:23:01Z")

</div>

Closed on April 2, 2019, 3:23pm UTC

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