# CPU Spiking after Recovery/Maintenance Mode

**URL:** <https://discuss.elastic.co/t/cpu-spiking-after-recovery-maintenance-mode/77995>\
**Category:** Elasticsearch\
**Created:** [March 9, 2017, 2:39pm UTC](https://discuss.elastic.co/t/cpu-spiking-after-recovery-maintenance-mode/77995 "2017-03-09T14:39:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rthomps7](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rthomps7/32/16075_2.png) [@rthomps7](https://discuss.elastic.co/u/rthomps7)\
**Post date:** [March 9, 2017, 2:39pm UTC](https://discuss.elastic.co/t/cpu-spiking-after-recovery-maintenance-mode/77995/1 "2017-03-09T14:39:43Z")

</div>

Last week, our cluster "162b24" had an issue where the hardware degraded on the machine and we needed it to be recovered to a snapshot. The conversation is [here](https://discuss.elastic.co/t/cluster-in-recovery-maintenance-mode/77362/2).

Since then, the machine has worked properly and then randomly spiked to 100% CPU every 3 days. I need to manually restart the cluster and it works again for a few days.

Nothing has changed on our end since except we cleaned out a bunch of .watch\_history-\* indexes as recommended.

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![erikthered](https://avatars.discourse-cdn.com/v4/letter/e/c77e96/32.png) [@erikthered](https://discuss.elastic.co/u/erikthered)\
**Post date:** [March 10, 2017, 1:53am UTC](https://discuss.elastic.co/t/cpu-spiking-after-recovery-maintenance-mode/77995/2 "2017-03-10T01:53:17Z")

</div>

Hi @rthomps7,

On the surface, I'd expect to see CPU spikes based on the increased request rates:

 ![](https://us1.discourse-cdn.com/elastic/original/3X/7/7/770ac272b976f5a4182c32b745b8670e1468af0a.png)

Is the spike in CPU use here correlate around what you're seeing?

Regards,  
Erik

---

<div class="post-metadata">

**Author:** ![rthomps7](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rthomps7/32/16075_2.png) [@rthomps7](https://discuss.elastic.co/u/rthomps7)\
**Post date:** [March 10, 2017, 2:13pm UTC](https://discuss.elastic.co/t/cpu-spiking-after-recovery-maintenance-mode/77995/3 "2017-03-10T14:13:13Z")

</div>

Erik,

That certainly seems related. I'm not sure what would be causing it since I don't know what could be spiking on our end.

In the second chart, "Request by Action", what could "other" entail? Maybe that will help isolate where the requests are coming from.

---

<div class="post-metadata">

**Author:** ![rthomps7](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rthomps7/32/16075_2.png) [@rthomps7](https://discuss.elastic.co/u/rthomps7)\
**Post date:** [March 13, 2017, 7:41pm UTC](https://discuss.elastic.co/t/cpu-spiking-after-recovery-maintenance-mode/77995/4 "2017-03-13T19:41:55Z")

</div>

@erikthered - Could you take another look at this? I'm not seeing request spikes on the graphs on my side and the CPU spikes are still happening frequently.

---

<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 10, 2017, 7:42pm UTC](https://discuss.elastic.co/t/cpu-spiking-after-recovery-maintenance-mode/77995/5 "2017-04-10T19:42:14Z")

</div>

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