Replies: 6 comments
-
Well, I guess this is indeed part of the problem:
But I also get high CPU if I request only CPU and MEM use using the gethomepage.dev glances info widget |
Beta Was this translation helpful? Give feedback.
-
Strange, Glances is now optimzed for CPU consumption (on my PC, it consume ~5% CPU). Can you try this:
|
Beta Was this translation helpful? Give feedback.
-
Then it's between 8-15%, but mostly around 10%. If I remove |
Beta Was this translation helpful? Give feedback.
-
Apart from opening the website, I also tried using the API by using the homepage widget, which doesn't use the |
Beta Was this translation helpful? Give feedback.
-
You can also try to limit the number of processes to display in the WebUI. In the glances.conf file:
Yes for the moment, Glances update all plugins when a call is done to the API (but limited at one update every time). An optimisation can be discussed on this point but it is not straighforward because plugins can be linked (for example processlist and alert). I just open an issue to follow this specific point: #3033 |
Beta Was this translation helpful? Give feedback.
-
Hmm, that doesn't seem to matter very much, it's still around 20%. However your linked issue is what I suspected. As a temporary workaround I now started a separate glances with:
and connected it to my dashboard. It's now working perfectly with 0-3% CPU, and I can still access the cpu-hungry web interface at 61208 :) |
Beta Was this translation helpful? Give feedback.
-
Check the bug
Previous issues were closed as solved
Describe the bug
Instead of <5% CPU Usage, I have around 15-25% CPU usage for glances on a Intel Core i3-8100T (running Proxmox)
To Reproduce
Steps to reproduce the behavior:
/usr/local/bin/glances -w
)Expected behavior
Observe low CPU
Screenshots
Environement (please complete the following information)
Proxmox:
glances_issue.txt
Additional context
I have around 30 LXCs running in proxmox, so the processlist is quite long.
How can I further debug this?
You can also pastebin:
glances.log
Beta Was this translation helpful? Give feedback.
All reactions