It is not an important VS and not a big use system (consider it idling)
However, as you can see the CPU use suddenly went up to 100% and stayed there for an extended period.
I have looked in the logs and cannot find anything to explain it. Only the other minor spikes (where I or a domain user has logged in) The load averages look normal and typically in the range 0% to 3%. There is no website or activity during that period that also coincides with most folk being asleep.
Yes it does. It is only a test bed so nothing important and not production (ha ha)
I am not worried by the spikes I can account for them.
I just cannot figure out the long period (overnight) when the cpu goes up suddenly to 100% and stays there when nothing happened. Nothing in the logs.
The process count looks quite high for what is there but at least that is a constant. and the cpu is currently ticking over at 1-3% which is pretty normal.
Certainly not! I hate WP and wouldn’t go anywhere near it.
I should also add that PHP is disabled here the “site” not that I’d call it that is just a group of simple .html tests with no linking or menu the css and js are also very small - the domain is obscure so very unlikely to be searched. the index.html remain the Virtualmin default. Nothing in the access or error logs for the period in question. I have looked on previous nights and there are only a few random hits.
I don’t look here every day and only spotted the use today as I was adding a new test.html file
Thanks, you are probably right. but when/if it does then with nothing in the logs this time I don’t expect anything next time. I wondered if there is some process running that is not logging but is using a lot of cpu.
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?
Don’t use the [ … code … ], only the command between the ’ '. I put the square brackets only to contain the command, they shouldn’t be included in it.
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.