# CPU for one of the nodes is high frequently

**URL:** <https://discuss.elastic.co/t/cpu-for-one-of-the-nodes-is-high-frequently/98931>\
**Category:** Elasticsearch\
**Created:** [August 31, 2017, 4:00am UTC](https://discuss.elastic.co/t/cpu-for-one-of-the-nodes-is-high-frequently/98931 "2017-08-31T04:00:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahesh\_Sharma](https://avatars.discourse-cdn.com/v4/letter/m/858c86/32.png) [@Mahesh\_Sharma](https://discuss.elastic.co/u/Mahesh_Sharma)\
**Post date:** [August 31, 2017, 4:00am UTC](https://discuss.elastic.co/t/cpu-for-one-of-the-nodes-is-high-frequently/98931/1 "2017-08-31T04:00:27Z")

</div>

Hey,

I have an elastic cluster running with 8 data nodes 2 client nodes and 3 master nodes. I frequently observe that CPU of one of the nodes(slightly random though) increases above 70% and keeps it to that level unless I restart the node.  
During this time response time increases drastically. Everything comes to normal as soon as I restart.

I am facing problems in troubleshooting this. Could someone please suggest any pointers?  
Could there be routing problem from client node?

I am running 2.3.5 version and have almost equal configuration for all the data nodes(m4.2xlarge).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [August 31, 2017, 8:25am UTC](https://discuss.elastic.co/t/cpu-for-one-of-the-nodes-is-high-frequently/98931/2 "2017-08-31T08:25:01Z")

</div>

Hey,

first please update your Elasticsearch version if possible. This one was released more than a year ago.

You can use the [hot\_threads API](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/cluster-nodes-hot-threads.html) to find out where CPU time is spent.

--Alex

---

<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:** [September 28, 2017, 8:25am UTC](https://discuss.elastic.co/t/cpu-for-one-of-the-nodes-is-high-frequently/98931/3 "2017-09-28T08:25:08Z")

</div>

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