# Sudden High CPU with GC

**URL:** https://discuss.elastic.co/t/sudden-high-cpu-with-gc/287908
**Category:** Elasticsearch
**Created:** [October 28, 2021, 12:14pm UTC](https://discuss.elastic.co/t/sudden-high-cpu-with-gc/287908 "2021-10-28T12:14:15Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![nuwancs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nuwancs/32/46419_2.png) [@nuwancs](https://discuss.elastic.co/u/nuwancs)
#### Post date: [October 28, 2021, 12:14pm UTC](https://discuss.elastic.co/t/sudden-high-cpu-with-gc/287908/1 "2021-10-28T12:14:15Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/f/2/f2fd356fec44b5313fa033982bda82c2c5d7bbff.jpeg)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/7/2762ede64103996a77cef3c0293dc80d9c664a9a.jpeg)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/e/cef6372a85c4f4277358132323889a8ffe328985.jpeg)

Hi Team  
Please refer to the screenshot and we observe high CPU spikes with the GC. Please help us resolve this.  
ELS v 7.5.2  
RAM: Total 32 GB, 16GB allocated to ES

It's a 7 node cluster

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [October 28, 2021, 12:35pm UTC](https://discuss.elastic.co/t/sudden-high-cpu-with-gc/287908/2 "2021-10-28T12:35:03Z")

</div>

That overall looks good. I do not see any problem that needs resolving.

---

<div class="post-metadata">

### Author: ![nuwancs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nuwancs/32/46419_2.png) [@nuwancs](https://discuss.elastic.co/u/nuwancs)
#### Post date: [October 28, 2021, 5:25pm UTC](https://discuss.elastic.co/t/sudden-high-cpu-with-gc/287908/3 "2021-10-28T17:25:11Z")

</div>

Thank you @Christian_Dahlqvist for the response, but our customer isn't happy as this behavior regularly generates high CPU alerts. So you idea is we can ignore it safely right?

---

<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: [October 29, 2021, 12:31am UTC](https://discuss.elastic.co/t/sudden-high-cpu-with-gc/287908/4 "2021-10-29T00:31:42Z")

</div>

7.5 is [EOL](https://www.elastic.co/support/eol), please upgrade.

---

<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: [November 26, 2021, 12:32am UTC](https://discuss.elastic.co/t/sudden-high-cpu-with-gc/287908/5 "2021-11-26T00:32:15Z")

</div>

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