Just as an update - nothing last night only a few random hits in the logs average cpu back to normal.
Still a little concerned over number of processes - has dropped from yesterday but still 200 - which is much higher than the production server currently at 144-155 (9 domains)
I wouldn’t worry so much for a production server (I’d even expect it and the cpu load is also low on the production VS box as it as more cores to share the work.)
But it is the OP VS that is giving me concern. Sure it is only 1 core but there is nothing to do here - virtually no activity other than idle waiting for the very occasional web request and odd email (no more than 3 a day between the 4 users and me.
When happens go to Webmin > System > Running Processes and see what eats CPU
Could be cleanup/ logrotate/ webmin backup or hosting backup (etckeeper or git)/ awstats/ setup backups/ any cron job
the problem (CPU 100%) was spotted yesterday and had happened overnight having cleared itself by the time I logged in with nothing in the logs.
I have gone in Webmin -> System -> Running Processes and they are all at < 0.5% cpu now as they were when I checked yesterday (I was not awake when the cpu was 100%) - I don’t think there is a way of monitoring cpu when it goes high. but would expect something to be logged somewhere.
There is no backup on this VS (there really is nothing worth backing up!)
I could clean up the log rotates but these I would guess only have impact on file storage and the stats - I cannot see how that would help.
Just checked processes again and /usr/share/webmin/proc/index_cpu.cgi is running at 56% with a refresh taking it back down to <1%
What does this process do? Is it important? Is it just a glitch?
And the logging works from when I posted here, and it seems that isn’t that big. Anyway, as I said before, 100% CPU could be from ClamVM and other maintanance service
Copy and paste that command in terminal as root, than go in /var/log/ and look for ps.log and see if works from terminal. After you issue the command the log should appear.
If the command doesnt work maybe I have installed something you have not.