Webmin hogging CPU and RAM? I'm not sure!

SYSTEM INFORMATION
OS type and version Ubuntu Linux 24.04.4
Webmin version 2.653
Usermin version 2.552
Virtualmin version 8.1.0 GPL
Theme version 26.50.4
Apache version 2.4.58
Package updates All installed packages are up to date

webmin slowed down to a crawl and cpu usage went through the roof, restarting webmin fixed the problem, The screen shot below is one of the many tests I did before I restarted webmin. Any Ideas ?

OK, so…I don’t think CPU usage is related to all the processes, but all the processes is a bug. The processes should be close to free, as there’s a 50 process cap, and they share most of their memory across all of them. The “slow” is probably that the 50 process cap is preventing new ones from spawning, not that it’s actually slow.

I’m not sure how to fit a CPU usage spike into the story, though.

I see the problem on one of my servers, but it’s not hitting CPU; it’s just a bunch of miniservs hanging out doing nothing useful.

But, it’s fixed by this PR: Don't wait forever for a client that connects but never sends by swelljoe · Pull Request #2815 · webmin/webmin · GitHub

it was me being ditsy, I ment memory usage not CPU sorry

It’s still a good bug to fix!