Submitted by Aido21 on Thu, 01/14/2021 - 13:12
Consumption 20-30 (sometimes)% CPU without visible activities on Server. Webmin page is closed
See video of top
Status:
Active
Files:
Virtualmin version:
6.14
Webmin version:
1.962
Comments
Hi,
Thanks for reporting.
If that happens every 5 minutes, then it's default Webmin scheduled status collection is being run. If it happens constantly, then please run the top command as following to get full command output:
Submitted by Aido21 on Thu, 01/14/2021 - 16:24 Comment #2
Ok. I try to do it a bit later. But for how long webmin do status collection? Because in my case it was pretty long until i restart webmin
It depends on server specs and the number of hosted virtual servers. For me on high specs machines it only takes seconds.
You can tweak and disable this option (status collection) on Webmin > Webmin Configuration > Background Status Collection page.
Submitted by Aido21 on Fri, 01/15/2021 - 04:21 Comment #4
Ok. let me check it a bit deeper. I want to understand when it happens and for how long.
And one more question what will i lose if disable it?
Submitted by Aido21 on Fri, 01/15/2021 - 08:59 Comment #5
So after some researches I can say
The top cpu consumer are
Both appeared very often in the list. Is it ok?
I noticed /usr/share/webmin/status/monitor.pl 35% but very seldom
3 I was not able to reproduce the situation when webmin uses a lot of cpu if the webmin page is closed. You can check the video in the first post
I have made few important changes on the theme side and the way background stats are collected.
We will included this improvement into upcoming Webmin 1.971.
Submitted by Aido21 on Sat, 01/16/2021 - 17:30 Comment #7
great. Thank you