cpu overheating hello please after the last update I noticed that my system has become heavy and the cpu is still in red which what should I do thank you
Why is fastrpc running so much? Do you have multiple Webmin instances connected to this one (in Webmin->Webmin->Webmin Servers Index)? (the fastrpc process only runs when communicating with other Webmin serversâŠand itâs unusual for it to take any CPU worth speaking ofâŠthatâs kind of alarming)
Something is wrong. You havenât answered my question about why fastrpc is running at all. Do you have other Webmin servers configured in Webmin->Webmin->Webmin Servers Index? Something is wrong with that.
so I didnât understand the question correctly
if you have a virtual server I have so far hosted 5 sites (5 clients each client I have given are access only)
if you are talking about the server connecting with another directly I confirm that no
Is there no solution to know which function or which account exactly consumes the CPU?
Merci Mr Joe
Oh. Oops. I have a hard time with screenshots, text is easier for me to read.
I see no reason for fastrpc to be running at all!
@Alaaeddine.benabid click on the PID of one of those fastrpc.cgi processes and show us the full command running. We need to figure out what the heck theyâre doing.
Also, in a terminal or ssh session run the following (you must replace <pid> with the actual PID of the process you want to look atâŠwe need to see one of the fastrpc processses):
strace -p <pid>
This may be very chatty (probably will be since it is chewing up huge amounts of CPU). We donât need to see hundreds of lines, just a couple dozenâŠjust to get the gist of whatâs happening.
Also check the Webmin logs in /var/webmin. miniserv.error may have clues, webmin.log is the actions log (but API calls may not have action logging), and miniserv.log is the access log and itâs probably the most useful. So show us a few lines of miniserv.logâŠwe only want to see some requests to fastrpc.cgi.
Itâs very alarming that fastrpc is doing something when you donât have any remote systems for it to be talking to. That means something is communicating with the API and making it very busy (possibly an attacker). If you have a weak password or one youâve reused or one youâve shared with untrusted people, you need to change it.
Unlikely. I mean, itâs possible, but without any other servers configured, I canât think of why fastrpc would even start much less be in an endless loop. fastrpc implements a protocol only used by Webmin, AFAIK, and is only used by API users (so Webmin instances talking to other Webmin instances, Cloudmin talking to Webmin, Virtualmin talking to other Webmin servers for e.g. DNS slaves, etc.). That would show up in the Servers Index, generally speaking. There may be other API users, but hopefully OP would tell us if theyâve got some billing system or something talking to Webmin/Virtualmin. RPC is remote procedure callsâŠnothing local really uses it, so some other system is talking to this server. If OP doesnât know who/what it is, thatâs alarming.
Perhaps whatever that update that was being blamed. We only have a brief knowledge of actually what in running on the system. Is there some app in a webserver (WP for example) that has caused it?
the first image was the time of the problem the second photo is now I noticed that the other fasterspc have disappeared only one ago and the datshboard displays the cpu with 60% utilization
[14/Dec/2023:16:58:53 +0100] [105.67.129.4] /extensions/file-manager/tree.cgi : Perl execution failed : Canât cd to ⊠from /proc/248599/attr/apparmor: No such process at /usr/share/webmin/vendor_perl/File/Find.pm line 469.
[14/Dec/2023:16:57:26 +0100] Reloading configuration
[14/Dec/2023:16:57:07 +0100] Reloading configuration
[14/Dec/2023:16:48:11 +0100] Reloading configuration
[14/Dec/2023:16:47:52 +0100] Reloading configuration
[14/Dec/2023:16:18:58 +0100] [105.67.129.4] /filemin/index.cgi : Perl execution failed :
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 1326.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
timeout at /usr/share/webmin/miniserv.pl line 4755.
Youâve skipped the stuff I really wanted to see (requests for fastrpc.cgi in miniserv.log and a few lines of strace and the full command of one of the fastrpc.cgi processes, in that order of value).