High Idle CPU usage caused by image-renderer
t-o-o-m opened this issue · 1 comments
Problem/Motivation
Noticed some idle CPU usage of the grafana add-on. Connected to the docker container and ran top - the grafana image renderer ( /var/lib/grafana/plugins/grafana-image-renderer/plugin_start_linux_amd64
) is accounting for most of the CPU usage of the whole add-on - but I don't render any images.
Killing the process does not have any impact on the add-on other than bringing down the cpu usage from ~3% to ~0% when idle.
It's not much, but it's something!
Expected behavior
Grafana idle CPU usage should be ~0%.
Actual behavior
Grafana image renderer is using up CPU even when not used and accounting for an idle CPU usage of ~3% (in my case).
Steps to reproduce
Connect to the add-on's docker container, execute top
and see the image renderer using CPU even when not rendering anything.
Proposed changes
If the grafana image renderer is misbehaving and uses CPU on every idle grafana instance, I'd make the install of this plugin optional.
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!