CentOS5.5/x64 CPU:8 cores, 2-way the highest load was greater than 50.00

cpanel 11 installed. for apache2/php5.2/mysql

The top command result follow:

top - 16:40:18 up 3 days,  2:52,  1 user,  load average: 18.95, 21.47, 22.69
Tasks: 686 total,  10 running, 655 sleeping,   0 stopped,  21 zombie
Cpu(s): 13.6%us,  2.5%sy,  0.0%ni, 70.7%id, 13.1%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:  16443188k total, 15748300k used,   694888k free,   456672k buffers
Swap:  8385920k total,   120968k used,  8264952k free,  6522772k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 9626 mysql     15   0  635m 314m 4040 S 30.0  2.0   1244:20 mysqld
29943 root      18   0 64948  19m 1968 D  5.6  0.1   0:01.79 pkgacct
30368 d5154     15   0  136m  37m 6816 R  4.1  0.2   0:00.65 php
30508 d5151     15   0  133m  34m 6820 S  4.1  0.2   0:00.62 php
30576 d5151     16   0  126m  27m 6760 S  3.1  0.2   0:00.51 php
30330 s823      15   0  132m  33m 6788 S  2.8  0.2   0:00.62 php
30524 s1242     15   0  125m  25m 6752 S  2.2  0.2   0:00.46 php
29877 s807      16   0  136m  37m 7008 R  1.9  0.2   0:00.50 php
30463 s2251     16   0  127m  27m 6780 S  1.9  0.2   0:00.43 php
30290 s1241     15   0  135m  36m 7012 R  1.6  0.2   0:00.34 php
30446 s512      16   0  128m  29m 6772 S  1.6  0.2   0:00.22 php
30462 s816      15   0  128m  28m 6772 S  1.6  0.2   0:00.23 php
30219 s814      16   0  136m  36m 6872 R  1.2  0.2   0:00.34 php
30362 s819      16   0  130m  30m 6800 S  1.2  0.2   0:00.26 php
30376 s807      15   0  127m  28m 6772 S  1.2  0.2   0:00.22 php
28785 s823      15   0  148m  49m 6928 S  0.9  0.3   0:01.27 php
30240 s4012     15   0  137m  38m 6868 S  0.9  0.2   0:00.57 php

vmstat command result follow:

procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 9  2 120968 265680 437448 6369708    0    1    54   293   16   14 19  3 65 13  0
link|improve this question
Did you have a question? – womble Sep 3 '11 at 9:35
feedback

1 Answer

iowait is quite high and you also have a process in D-state. Since MySQL is a top CPU consumer it's highly possible it is also a top disk consumer, you should install iotop and check this. Most probably your SQL queries are not optimal or your MySQL caches are not big enough.

link|improve this answer
Or your PHP processes heavily scrub on the disk. – mailq Sep 2 '11 at 10:09
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.