I am struggling finding the root isue of this bug.
I am using up to date Debian 12 and Webmin package.
When loading the dashboard with system statistics, I notice that my server is freezing and get to 100% CPU usage and 100% RAM usage. After some time, webmin process gets killed by OOM detection and my server unfreezes.
I limited the CPU usage and RAM usage with systemd parameters to prevent my server to crash.
But, I am still using a non working Webmin instance.
I can do some things but not access terminal and viewing dashboard; then it seems to be a websocket issue.
I am using an Apache2 reverse proxy with configuration based on the FAQ.
Turn that option off, it would appear that the theme runs that without checking that it’s already running my small server runs into the same problem i.e 500mb ram 1 cpu
The problem is that I need this to work, at least the Terminal feature, it’s my main use of Webmin and I won’t keep it if I cannot use that.
When looking at htop when reproducing the issue, I can see sysinfo.cgi and xhr.cgi running at maximum RAM/CPU usage, but there is only one instance of each.
When that happens, could you run systemctl status webmin, find the sysinfo.cgi PID, and run strace -p <PID> to see what’s really happening behind the scenes?
Did this issue also happen for you on Webmin 2.202?
Let’s focus on one problem at a time. If you have a problem with the Terminal, open a new topic about that problem. I wouldn’t expect the terminal to be all that large (I mean, it’s much bigger than using an ssh session to have a terminal, but it’s not huge (I see 23M resident and 78MB VSS on my Debian 12 system).