# Elasticsearch High CPU on GC and strange behaviors

**URL:** https://discuss.elastic.co/t/elasticsearch-high-cpu-on-gc-and-strange-behaviors/240339
**Category:** Elasticsearch
**Created:** [July 8, 2020, 12:04pm UTC](https://discuss.elastic.co/t/elasticsearch-high-cpu-on-gc-and-strange-behaviors/240339 "2020-07-08T12:04:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![zaynkorai](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zaynkorai/32/61052_2.png) [@zaynkorai](https://discuss.elastic.co/u/zaynkorai)
#### Post date: [July 8, 2020, 12:04pm UTC](https://discuss.elastic.co/t/elasticsearch-high-cpu-on-gc-and-strange-behaviors/240339/1 "2020-07-08T12:04:21Z")

</div>

Hello we have a elasticsearch(5.6) cluster and due to development overhead we can not upgrade our code for newer version of elasticsearch near soon.

So there are some issues we are facing with it. Numbers one is high CPU consumption, After running the given command for hod thread below, it's showing big Integer conversion. where average CPU consumption is 90%+.

```auto
curl http:/localhost:9200/_nodes/hot_threads?human

```

**Strange behavior:**  
When ever out of 3 nodes we restart one node(node-2) consuming high cpu, other nodes start getting high CPU when we restart high gc node(node-2).

Also it's the same node(node-2) which gets high cpu every week. so questions is are the other 2 nodes not getting any similar search thread requests. that are causing high cpu on node-2

Thanks

---

<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 5, 2020, 12:04pm UTC](https://discuss.elastic.co/t/elasticsearch-high-cpu-on-gc-and-strange-behaviors/240339/2 "2020-08-05T12:04:21Z")

</div>

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