I have a Linode 512 in Atlanta and it's got Apache on Ubunto 10.4 and have had it for over a month now with no issues. I run basically 5 Wordpress sites off it, with very little traffic (about 700 visitors per day combined).
Starting late last night I started to get CPU Usage alerts through email. Also, high bandwidth alerts. My websites are crawling and most of the time will not even load up. See screenshot of graphs:
I ran "ps aux" to see the processes and MYSQL is always taking less than 5% of the memory and no CPU so that's not the issue. I constantly see "www-data" processes with high CPU rates (see screenshot below). I've been using the kill command to kill the processes to keep the sites up.
Any idea what I can do to find out what is causing all of the bandwidth usage and high CPU? My apache config:
Quote:
<IfModule mpm_prefork_module>
StartServers 1
MinSpareServers 3
MaxSpareServers 6
MaxClients 20
MaxRequestsPerChild 3000
</IfModule>
I have experimented with MaxClients at 32, and 15 and it seems to be doing best at around 20. Keepalive is OFF.