# ES In Prod periodically jumping to constant high CPU and super slow queries

**URL:** <https://discuss.elastic.co/t/es-in-prod-periodically-jumping-to-constant-high-cpu-and-super-slow-queries/92846>\
**Category:** Elasticsearch\
**Created:** [July 12, 2017, 4:55pm UTC](https://discuss.elastic.co/t/es-in-prod-periodically-jumping-to-constant-high-cpu-and-super-slow-queries/92846 "2017-07-12T16:55:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hifitodd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hifitodd/32/8015_2.png) [@hifitodd](https://discuss.elastic.co/u/hifitodd)\
**Post date:** [July 12, 2017, 4:55pm UTC](https://discuss.elastic.co/t/es-in-prod-periodically-jumping-to-constant-high-cpu-and-super-slow-queries/92846/1 "2017-07-12T16:55:26Z")

</div>

Hi,

I run ES on my production site, and every ~2weeks or so of running it, all of a sudden it will jump to 106% CPU utilization and stay there until I bounce the service.

I saw this before and did a bit of research, and increased the java Heap size to 4GB. (there is 8GB on the box)

Can you help me understand what may be happening and help me prevent this from happening in the future?

Thanks so much!

Running ES 2.4.5 on Centos 7

---

<div class="post-metadata">

**Author:** ![hifitodd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hifitodd/32/8015_2.png) [@hifitodd](https://discuss.elastic.co/u/hifitodd)\
**Post date:** [July 27, 2017, 5:14pm UTC](https://discuss.elastic.co/t/es-in-prod-periodically-jumping-to-constant-high-cpu-and-super-slow-queries/92846/2 "2017-07-27T17:14:45Z")

</div>

Is there anyone that can help with this?? ES runs great until all of a sudden it jumps to a constant 30% CPU utilization on my box!

---

<div class="post-metadata">

**Author:** ![Dan\_Markhasin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dan_markhasin/32/14187_2.png) [@Dan\_Markhasin](https://discuss.elastic.co/u/Dan_Markhasin)\
**Post date:** [July 28, 2017, 3:24pm UTC](https://discuss.elastic.co/t/es-in-prod-periodically-jumping-to-constant-high-cpu-and-super-slow-queries/92846/3 "2017-07-28T15:24:27Z")

</div>

It's impossible to help without any details or logs... is there any information in the ES logs at the time? What does the output of /\_nodes/hot\_threads look like?

---

<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 25, 2017, 3:24pm UTC](https://discuss.elastic.co/t/es-in-prod-periodically-jumping-to-constant-high-cpu-and-super-slow-queries/92846/4 "2017-08-25T15:24:38Z")

</div>

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