# High CPU usage most of the time

**URL:** <https://community.graylog.org/t/high-cpu-usage-most-of-the-time/2229>\
**Category:** Graylog Central (peer support)\
**Created:** [August 24, 2017, 3:10pm UTC](https://community.graylog.org/t/high-cpu-usage-most-of-the-time/2229 "2017-08-24T15:10:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![scampuza](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/scampuza/32/716_2.png) [@scampuza](https://community.graylog.org/u/scampuza)\
**Post date:** [August 24, 2017, 3:10pm UTC](https://community.graylog.org/t/high-cpu-usage-most-of-the-time/2229/1 "2017-08-24T15:10:02Z")

</div>

Hi guys !

I have a GL cluster consisting of 3 virtual CentOS Servers, each one with 8 Cores and 12 GB of RAM.

In each server I have installed GL 2.3.0 and ES 5.5.1.

I recently performed the upgrade from GL 2.2 and ES 2.x. After I performed the Upgrade, GL Java processes started using a lot of CPU, averaging 300 - 400% per process.

I’ve trying to take some thread dumps, but it looks like JVM is not respondind.

I enabled JMX, and using VisualVM i have managed to perform a CPU profiling. Attached, you can find some screens of the CPU sampler, you can see there are some KafkaJournal related methods taking a lot of CPU time… please help me with this… I thing it could be a bug…

 ![54 AM](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/1X/6ee65a7d3bdb85283764db1f0d6caa0e753ee899.png) ![20 AM](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/1X/e4fccdb055d47767f520dd220594661d53b249c4.png)

---

<div class="post-metadata">

**Author:** ![scampuza](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/scampuza/32/716_2.png) [@scampuza](https://community.graylog.org/u/scampuza)\
**Post date:** [August 24, 2017, 3:13pm UTC](https://community.graylog.org/t/high-cpu-usage-most-of-the-time/2229/2 "2017-08-24T15:13:44Z")

</div>

Hi guys…

This is the thread dump report I managed to get from one of the servers…

[http://fastthread.io/my-thread-report.jsp?p=c2hhcmVkLzIwMTcvMDgvMjQvLS1HTF90ZC50eHQtLTE1LTExLTE3](http://fastthread.io/my-thread-report.jsp?p=c2hhcmVkLzIwMTcvMDgvMjQvLS1HTF90ZC50eHQtLTE1LTExLTE3)

---

<div class="post-metadata">

**Author:** ![scampuza](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/scampuza/32/716_2.png) [@scampuza](https://community.graylog.org/u/scampuza)\
**Post date:** [August 24, 2017, 3:19pm UTC](https://community.graylog.org/t/high-cpu-usage-most-of-the-time/2229/3 "2017-08-24T15:19:46Z")

</div>

Looks like I’m having issues with GrayLog Journal… .but I dont know why… journal is empty…

 ![42 AM](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/1X/f8cb331edfcfa2c268515574a4e2e303085286c9.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [September 7, 2017, 3:19pm UTC](https://community.graylog.org/t/high-cpu-usage-most-of-the-time/2229/4 "2017-09-07T15:19:52Z")

</div>

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