Ever since Cpanel updated to mySQl 5.0.24 my server is having unusual high loads. Before my server load hardly makes to 3.
Server specs.
Dual Opteron 246 / 4 GB Ram / Dual SCSI 36 GB Drive
Current CPU Usage
Server specs.
Dual Opteron 246 / 4 GB Ram / Dual SCSI 36 GB Drive
top - 21:25:16 up 3:44, 3 users, load average: 25.13, 17.36, 14.38
Tasks: 229 total, 5 running, 221 sleeping, 1 stopped, 2 zombie
Cpu(s): 49.3% us, 40.2% sy, 6.5% ni, 3.9% id, 0.0% wa, 0.2% hi, 0.0% si
Mem: 3115256k total, 2434556k used, 680700k free, 184932k buffers
Swap: 4192924k total, 144k used, 4192780k free, 1497384k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
32320 mysql 15 0 1194m 175m 2856 T 99.9 5.8 30:50.04 mysqld
2077 munin 31 10 7912 4856 1700 R 12.9 0.2 0:00.40 munin-graph
32414 nobody 16 0 12160 7132 3380 S 1.0 0.2 0:01.85 httpd
31628 nobody 15 0 12008 6984 3384 S 0.6 0.2 0:02.28 httpd
31631 nobody 15 0 12048 7020 3380 S 0.6 0.2 0:02.08 httpd
31662 nobody 15 0 11976 6948 3380 S 0.6 0.2 0:02.20 httpd
32400 nobody 16 0 12156 7128 3380 S 0.6 0.2 0:01.77 httpd
32411 nobody 16 0 12112 7084 3380 S 0.6 0.2 0:01.89 httpd
32417 nobody 15 0 12052 7020 3376 S 0.6 0.2 0:01.62 httpd
.....
Current CPU Usage
Pid Owner Priority Cpu % Mem % Command
2196 mysql 0 99.9 5.1 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/cp.tipidpchosting.com.pid --skip-locking
2423 nobody 0 0.9 0.2 /usr/local/apache/bin/httpd -DSSL
2444 nobody 0 0.9 0.2 /usr/local/apache/bin/httpd -DSSL
2445 nobody 0 0.9 0.2 /usr/local/apache/bin/httpd -DSSL
2949 nobody 0 0.9 0.2 /usr/local/apache/bin/httpd -DSSL
2424 nobody 0 0.6 0.2 /usr/local/apache/bin/httpd -DSSL
2426 nobody 0 0.6 0.2 /usr/local/apache/bin/httpd -DSSL
....
PID
Process : /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/cp.tipidpchosting.com.pid --skip-locking
Owner : mysql
PID : 2196
CPU % : 5
MEM % : 7
Traced Process
Process 2196 attached - interrupt to quit
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
accept(4, {sa_family=AF_FILE, path="ò¿"}, [2]) = 144
fcntl64(4, F_SETFL, O_RDWR) = 0
getsockname(144, {sa_family=AF_FILE, path="/var/lib/mysql"}, [28]) = 0
fcntl64(144, F_SETFL, O_RDONLY) = 0
fcntl64(144, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(144, F_SETFL, O_RDWR|O_NONBLOCK) = 0
setsockopt(144, SOL_IP, IP_TOS, [8], 4) = -1 EOPNOTSUPP (Operation not supported)
futex(0x859ada4, FUTEX_WAKE, 1) = 1
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
accept(4, {sa_family=AF_FILE, path="ò¿"}, [2]) = 144
fcntl64(4, F_SETFL, O_RDWR) = 0
getsockname(144, {sa_family=AF_FILE, path="/var/lib/mysql"}, [28]) = 0
fcntl64(144, F_SETFL, O_RDONLY) = 0
fcntl64(144, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(144, F_SETFL, O_RDWR|O_NONBLOCK) = 0
setsockopt(144, SOL_IP, IP_TOS, [8], 4) = -1 EOPNOTSUPP (Operation not supported)
futex(0x859ada4, FUTEX_WAKE, 1) = 1
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
accept(4, {sa_family=AF_FILE, path="ò¿"}, [2]) = 144
fcntl64(4, F_SETFL, O_RDWR) = 0
getsockname(144, {sa_family=AF_FILE, path="/var/lib/mysql"}, [28]) = 0
fcntl64(144, F_SETFL, O_RDONLY) = 0
fcntl64(144, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(144, F_SETFL, O_RDWR|O_NONBLOCK) = 0
setsockopt(144, SOL_IP, IP_TOS, [8], 4) = -1 EOPNOTSUPP (Operation not supported)
futex(0x859ada4, FUTEX_WAKE, 1) = 1
futex(0x859ada0, FUTEX_WAKE, 1) = 1
futex(0x8599500, FUTEX_WAKE, 1) = 1
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
accept(4, {sa_family=AF_FILE, path="ò¿"}, [2]) = 301
fcntl64(4, F_SETFL, O_RDWR) = 0
getsockname(301, {sa_family=AF_FILE, path="/var/lib/mysql"}, [28]) = 0
fcntl64(301, F_SETFL, O_RDONLY) = 0
fcntl64(301, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(301, F_SETFL, O_RDWR|O_NONBLOCK) = 0
setsockopt(301, SOL_IP, IP_TOS, [8], 4) = -1 EOPNOTSUPP (Operation not supported)
futex(0x859ada4, FUTEX_WAKE, 1) = 1
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
accept(4, {sa_family=AF_FILE, path="ò¿"}, [2]) = 343
fcntl64(4, F_SETFL, O_RDWR) = 0
getsockname(343, {sa_family=AF_FILE, path="/var/lib/mysql"}, [28]) = 0
fcntl64(343, F_SETFL, O_RDONLY) = 0
fcntl64(343, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(343, F_SETFL, O_RDWR|O_NONBLOCK) = 0
setsockopt(343, SOL_IP, IP_TOS, [8], 4) = -1 EOPNOTSUPP (Operation not supported)
.....
Can somebody help me diagnose the problem and tell me what is wrong and what to do?
Thanks.