httpd @ 16.3 % cpu

I have been having mass load by httpd all day today. need some help fixing

17057 apache 16 0 10476 10M 4884 S 16.3 1.0 0:00 0 httpd
17106 apache 16 0 10452 10M 4868 S 15.5 1.0 0:00 0 httpd

12:19:07 up 53 min, 1 user, load average: 0.73, 0.70, 0.76
159 processes: 156 sleeping, 2 running, 1 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 7.9% 0.0% 2.1% 0.0% 0.0% 1.5% 88.2%
Mem: 1019392k av, 767940k used, 251452k free, 0k shrd, 40112k buff
452176k actv, 191252k in_d, 23176k in_c
Swap: 1044216k av, 0k used, 1044216k free 403916k cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
3745 mysql 16 0 33684 32M 1240 S 3.3 3.3 0:06 0 mysqld
10023 apache 15 0 18424 17M 11344 S 1.3 1.8 0:01 0 httpd
10340 apache 15 0 13316 13M 7164 S 1.3 1.3 0:00 0 httpd
10159 apache 15 0 14480 14M 8064 S 0.5 1.4 0:01 0 httpd
20 root 15 0 0 0 0 SW 0.1 0.0 0:01 0 kjournald
3759 mysql 15 0 33684 32M 1240 S 0.1 3.3 0:10 0 mysqld
4463 root 15 0 748 748 396 R 0.1 0.0 0:05 0 top
10155 apache 15 0 14880 14M 8008 S 0.1 1.4 0:00 0 httpd
10171 apache 15 0 17736 17M 10872 S 0.1 1.7 0:02 0 httpd
10291 apache 15 0 14076 13M 7820 S 0.1 1.3 0:00 0 httpd
10292 apache 15 0 17596 17M 10668 S 0.1 1.7 0:00 0 httpd
10328 apache 15 0 15152 14M 8728 S 0.1 1.4 0:00 0 httpd
10373 apache 15 0 11396 11M 5900 S 0.1 1.1 0:00 0 httpd
10411 apache 15 0 9020 9020 4132 S 0.1 0.8 0:00 0 httpd
10415 apache 15 0 9084 9084 4148 S 0.1 0.8 0:00 0 httpd


13:10:04 up 1:44, 1 user, load average: 1.11, 1.01, 0.89
170 processes: 165 sleeping, 4 running, 1 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 66.8% 0.0% 13.9% 0.1% 0.3% 16.3% 2.1%
Mem: 1019392k av, 858080k used, 161312k free, 0k shrd, 49360k buff
508320k actv, 214740k in_d, 30824k in_c
Swap: 1044216k av, 3112k used, 1041104k free 458468k cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
17057 apache 16 0 10476 10M 4884 S 16.3 1.0 0:00 0 httpd
17106 apache 16 0 10452 10M 4868 S 15.5 1.0 0:00 0 httpd
17067 apache 16 0 13080 12M 6528 S 3.1 1.2 0:00 0 httpd
17092 apache 15 0 12468 12M 5616 S 2.9 1.2 0:00 0 httpd
17102 apache 15 0 12296 12M 5932 S 1.7 1.2 0:00 0 httpd
17101 apache 15 0 13564 13M 7056 S 1.5 1.3 0:00 0 httpd
17077 apache 15 0 16668 16M 9936 S 1.3 1.6 0:00 0 httpd
6156 mysql 16 0 44004 42M 1376 S 1.1 4.3 0:10 0 mysqld
17008 apache 15 0 15272 14M 9024 S 1.1 1.4 0:01 0 httpd
17095 apache 15 0 12768 12M 5628 S 1.1 1.2 0:00 0 httpd
17059 apache 15 0 13164 12M 6892 S 0.7 1.2 0:00 0 httpd
2358 root RT 0 544 444 408 D 0.5 0.0 0:00 0 auditd
17018 apache 15 0 10812 10M 5148 S 0.5 1.0 0:00 0 httpd
17060 apache 15 0 13100 12M 6848 S 0.5 1.2 0:00 0 httpd
3750 mysql 15 0 44004 42M 1376 S 0.3 4.3 0:15 0 mysqld


13:11:43 up 1:46, 1 user, load average: 1.42, 1.03, 0.90
155 processes: 151 sleeping, 3 running, 1 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 12.9% 0.0% 2.9% 0.1% 0.0% 1.1% 82.6%
Mem: 1019392k av, 828940k used, 190452k free, 0k shrd, 49692k buff
483816k actv, 212500k in_d, 30784k in_c
Swap: 1044216k av, 3220k used, 1040996k free 463228k cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
5144 mysql 16 0 44188 43M 1376 S 2.7 4.3 0:09 0 mysqld
17694 apache 15 0 13116 12M 6912 S 1.9 1.2 0:00 0 httpd
17639 apache 16 0 13344 13M 7132 R 1.5 1.3 0:01 0 httpd
17687 apache 15 0 13472 13M 7256 S 1.5 1.3 0:00 0 httpd
17090 apache 15 0 16276 15M 8488 S 1.3 1.5 0:02 0 httpd
17054 apache 15 0 14956 14M 8536 S 0.9 1.4 0:00 0 httpd
3751 mysql 15 0 44188 43M 1376 S 0.5 4.3 0:16 0 mysqld
6156 mysql 15 0 44188 43M 1376 S 0.3 4.3 0:10 0 mysqld
6167 mysql 15 0 44188 43M 1376 S 0.3 4.3 0:10 0 mysqld
17057 apache 15 0 16120 15M 9356 S 0.3 1.5 0:02 0 httpd
17637 apache 15 0 11828 11M 5348 S 0.3 1.1 0:00 0 httpd
17638 apache 15 0 13944 13M 7732 S 0.3 1.3 0:00 0 httpd
17684 apache 15 0 10816 10M 4976 S 0.3 1.0 0:00 0 httpd
17696 apache 16 0 9044 9044 4164 S 0.3 0.8 0:00 0 httpd
20 root 16 0 0 0 0 SW 0.1 0.0 0:01 0 kjournald

httpd.conf


Timeout 60
KeepAlive On
MaxKeepAliveRequests 1000
KeepAliveTimeout 4


##
## Server-Pool Size Regulation (MPM specific)
##

# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 220
MaxRequestsPerChild 0
</IfModule>

# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule worker.c>
StartServers 2
MaxClients 175
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>

# perchild MPM
# NumServers: constant number of server processes
# StartThreads: initial number of worker threads in each server process
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# MaxThreadsPerChild: maximum number of worker threads in each server process
# MaxRequestsPerChild: maximum number of connections per server process
<IfModule perchild.c>
NumServers 5
StartThreads 5
MinSpareThreads 5
MaxSpareThreads 10
MaxThreadsPerChild 20

 

 

 

 

Top