-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High CPU usage of Glowroot-Aggregator thread #1057
Comments
Hi, With jcmd: Maybe could you post several thread dumps (only the part related to the thread |
I failed to attach
|
Also got this after a few minutes:
Same stacktrace, different state. |
In another project was a similar issue I think: There the problem was a loop that called sleep() in 1ms interval. It looks like Glowroot is doing the same. In a VM environment like docker sleep() seems to use more CPU - so they added an option to increase the interval to 10-100ms to reduce CPU. |
A new beta has been released. https://github.com/glowroot/glowroot/releases/tag/v0.14.2-beta.3 Please let us know if it helps. |
We're using glowroot version 0.14.0 for our app with the default configuration (profiling interval and other stuffs).
The problem is it's using almost 5 percent of the CPU of the host machine, which is too much, and according to
top
tool, I can see the thread isGlowroot-Aggregator
.Here's a picture of the
top
command result:The app is idle and is almost doing nothing, Doing like 5-6 transactions per seconds and they're all a lightweight health check:
The command that is used to run the app is:
Things that I tried to reduce the CPU usage:
Capture JVM thread stats
But none of them helped.
If more data is needed (like json files of configurations), please let me know.
Thank you in advance!
The text was updated successfully, but these errors were encountered: