# High CPU on Data Nodes

**URL:** <https://discuss.elastic.co/t/high-cpu-on-data-nodes/233450>\
**Category:** Elasticsearch\
**Created:** [May 20, 2020, 4:17am UTC](https://discuss.elastic.co/t/high-cpu-on-data-nodes/233450 "2020-05-20T04:17:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wayne\_Taylor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wayne_taylor/32/45984_2.png) [@Wayne\_Taylor](https://discuss.elastic.co/u/Wayne_Taylor)\
**Post date:** [May 20, 2020, 4:17am UTC](https://discuss.elastic.co/t/high-cpu-on-data-nodes/233450/1 "2020-05-20T04:17:07Z")

</div>

Hi All,

Running 7.6.2 on elastic cloud and observing increasing CPU over time on our cluster.

Some background to our configuration:  
2x Nodes x 2 Zone 58GB Data Nodes.  
1x Nodes x 2 Zone 8GB ML Nodes  
3x Master Nodes at 4GB  
2x 4GB coordinator nodes  
1x 8GB kibana nodes x 2 zones.

Indices: 222  
Shards Total: 766

We upgraded to 7.6.2 beginning of May and 15 days was very solid. But now seeing consistently rising CPU

 ![Screen Shot 2020-05-19 at 11.03.36 PM](https://us1.discourse-cdn.com/elastic/original/3X/0/7/07febce6588352c6a4a23d06829f513870fce2d2.png)

I look at hot threads as I found a similar post here: [High CPU Usage on Data Node](https://discuss.elastic.co/t/high-cpu-usage-on-data-node/57879)

I then see stuff like this:  
`104.3% (521.4ms out of 500ms) cpu usage by thread 'elasticsearch[instance-0000000119] [write][T#13]' 10/10 snapshots sharing following 191 elements app//org.apache.lucene.store.DataInput.readVInt(DataInput.java:126)`

Any ideas. I checked ingestion is normal, old indexes are being cleared down regularly etc.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 20, 2020, 4:18am UTC](https://discuss.elastic.co/t/high-cpu-on-data-nodes/233450/2 "2020-05-20T04:18:16Z")

</div>

What does your GC look like?

---

<div class="post-metadata">

**Author:** ![Wayne\_Taylor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wayne_taylor/32/45984_2.png) [@Wayne\_Taylor](https://discuss.elastic.co/u/Wayne_Taylor)\
**Post date:** [May 20, 2020, 4:24am UTC](https://discuss.elastic.co/t/high-cpu-on-data-nodes/233450/3 "2020-05-20T04:24:56Z")

</div>

Here you go @warkolm

 ![Screen Shot 2020-05-19 at 11.23.40 PM](https://us1.discourse-cdn.com/elastic/original/3X/5/d/5d35ebb2649d9d017583a25285f9807254d83bc3.png)

It seems to be trending ok.

---

<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:** [June 17, 2020, 4:25am UTC](https://discuss.elastic.co/t/high-cpu-on-data-nodes/233450/4 "2020-06-17T04:25:13Z")

</div>

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