For some reason, I recently have been getting random huge CPU load due to apache.
When it happends noone can connect to the server, if I'm lucky I can make a httpd stop via ssh after many minutes of waiting and hoping the connection wont be timout due to cpu being crazy. Otherwise I'm forced to ask my host for a hard reboot and the problem only happends hours or days later again...
I changed my httpd.conf and it helped lowering the number of times the cpu goes crazy but I got a new issue today and I dont the source of all these issues.
If anyone has suggestions I'd be happy to listen.
Thanks in advance.
When it happends noone can connect to the server, if I'm lucky I can make a httpd stop via ssh after many minutes of waiting and hoping the connection wont be timout due to cpu being crazy. Otherwise I'm forced to ask my host for a hard reboot and the problem only happends hours or days later again...
I don't understand whats causing it since my config is updated I have an average of 50 users on Vbulletin and a couple personal blogs/sites with low trafic.Processor #1 Vendor: GenuineIntel
Processor #1 Name: Intel(R) Celeron(R) CPU 3.06GHz
Processor #1 speed: 3061.175 MHz
Processor #1 cache size: 256 KB
Memory: 506932k/516032k available (2150k kernel code, 8384k reserved, 719k data, 164k init, 0k highmem)
Linux 2.6.9-42.0.10.EL #1 Tue Feb 27 09:24:42 EST 2007 i686 i686 i386 GNU/Linux
Server Version: Apache/1.3.37 (Unix) PHP/5.2.1 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a
Server Built: Aug 8 2006 22:09:17
Current Time: Tuesday, 15-May-2007 17:40:38 CEST
Restart Time: Tuesday, 15-May-2007 15:45:03 CEST
Parent Server Generation: 0
Server uptime: 1 hour 55 minutes 35 seconds
Total accesses: 20794 - Total Traffic: 65.9 MB
CPU Usage: u710.5 s63.58 cu.44 cs.5 - 11.2% CPU load
3 requests/sec - 9.7 kB/second - 3320 B/request
6 requests currently being processed, 8 idle servers
I changed my httpd.conf and it helped lowering the number of times the cpu goes crazy but I got a new issue today and I dont the source of all these issues.
Full log is attached with about a 100 httpd sessions by user nobody.KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 4
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 1000
If anyone has suggestions I'd be happy to listen.
Thanks in advance.
Attachments
-
24.2 KB Views: 34
Last edited: