These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Server peak load / server offline , log? on the new forum.
Hi,
I run a VPS with VirtualMin. Yesterday, there was a peak in visitors and it seems like the whole site went down for an hour or so.
I checked apache error log, access log and memory swap. Strange thing is. The log has no errors for that timeframe and the memory swap is just used a little bit.
How come the server went online / how can I best find this out with VirtualMin / WebMin?
Thanks a lot.
Howdy,
It can be hard to tell afterwards what the cause of an issue like that is... next time you're seeing that issue occurring, I'd suggest running these commands:
uptime
free -m
ps auxwf
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr | head -20
mailq | tail -1
Those will give you some information about the problem as it's happening that can later be used to aid in diagnosing what's going on.
-Eric
Thanks! I will keep this in mind.