-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Sensors plugin generates a peak of CPU consumption #2851
Comments
A specific branch (issue2851) has been created with a specific test script (test-data/issues/issue2851.py):
|
After a quick analyse, the peak (between 2 and 3% of a CPU core) came from the calls to psutil.sensors_temperatures() and psutil.sensors_fans(). |
I don't know if it's related to this issue, but I noticed significantly higher CPU usage on recent versions of glances. I've noticed this on multiple machines, but it's currently running on Docker version 25.0.6. Old version with good CPU usage:
Newer version with high CPU usage:
|
This issue is stale because it has been open for 3 months with no activity. |
Note: the peak every "3 refreshs" is related to the following key in the sensors code:
The goal is to understand why the CPU peak is so high (from 5% to 11% on my system).
The text was updated successfully, but these errors were encountered: