Portal Home > Knowledgebase > Articles Database > Server loads very high
Server loads very high
Posted by tihhc, 12-06-2011, 09:34 PM |
Hello,
I go to WHM >> Main >> System Health >> Process Manager and I found one process eats a lot of process.
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql/xxx.com-SUSPENDED-325167.err --pid-file=/var/lib/mysql/xxx.com-SUSPENDED-325167.pid
Please help.
Last edited by tihhc; 12-06-2011 at 09:40 PM.
|
Posted by OSPDX, 12-06-2011, 10:12 PM |
It's not unusual for mysqld to be the single process with the highest load on a cPanel server, so that may not indicate that mysqld is the culprit.
Can you SSH into the shell and paste the output of the command "top" here?
|
Posted by tihhc, 12-06-2011, 10:21 PM |
Hello,
===
top - 09:21:09 up 3:14, 2 users, load average: 4.46, 3.37, 3.93
Tasks: 116 total, 1 running, 113 sleeping, 0 stopped, 2 zombie
Cpu(s): 0.0%us, 0.9%sy, 0.1%ni, 66.6%id, 32.4%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2097152k total, 955004k used, 1142148k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1261 sv2statu 34 19 3744 1072 908 D 2.7 0.1 0:24.98 gtar
27971 root 18 0 2928 620 540 D 0.3 0.0 0:00.76 md5sum
28048 nobody 19 4 15544 5360 1708 S 0.3 0.3 0:00.01 httpd
28050 nobody 19 4 15544 5384 1708 S 0.3 0.3 0:00.01 httpd
28056 nobody 19 4 15544 5368 1716 S 0.3 0.3 0:00.02 httpd
28125 nobody 19 4 15544 5376 1704 S 0.3 0.3 0:00.02 httpd
1 root 18 0 2156 668 580 S 0.0 0.0 0:01.34 init
|
Posted by tihhc, 12-06-2011, 10:29 PM |
top - 09:21:12 up 3:14, 2 users, load average: 4.26, 3.35, 3.92
Tasks: 111 total, 1 running, 108 sleeping, 0 stopped, 2 zombie
Cpu(s): 0.1%us, 0.3%sy, 0.2%ni, 51.5%id, 47.9%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2097152k total, 944928k used, 1152224k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28142 root 15 0 2416 1092 816 R 0.7 0.1 0:00.13 top
1261 sv2statu 34 19 3744 1072 908 D 0.3 0.1 0:24.99 gtar
3855 mailman 23 8 10400 6256 2548 S 0.3 0.3 0:01.61 python
27944 nobody 19 4 15544 5360 1708 S 0.3 0.3 0:00.02 httpd
1 root 18 0 2156 668 580 S 0.0 0.0 0:01.34 init
1129 root 21 -4 2572 884 344 S 0.0 0.0 0:00.00 udevd
1232 root 15 0 1736 380 324 S 0.0 0.0 0:00.10 cpuwatch
1233 root 34 19 12232 9484 1748 S 0.0 0.5 0:00.26 pkgacct
1254 root 21 0 32696 568 464 S 0.0 0.0 0:00.00 brcm_iscsiuio
1260 root 37 19 12232 8196 460 S 0.0 0.4 0:00.00 pkgacct
1504 root 15 0 1812 572 480 S 0.0 0.0 0:00.18 syslogd
1507 root 15 0 1760 400 336 S 0.0 0.0 0:00.00 klogd
1606 root 18 0 5240 744 504 S 0.0 0.0 0:00.00 hpiod
1611 root 15 0 12532 4480 1016 S 0.0 0.2 0:00.44 hpssd.py
1624 root 18 0 7204 1056 664 S 0.0 0.1 0:00.00 sshd
1633 root 15 0 8220 2328 1692 S 0.0 0.1 0:00.00 cupsd
1646 root 20 0 2832 832 664 S 0.0 0.0 0:00.00 xinetd
3357 root 15 0 4292 1364 732 S 0.0 0.1 0:00.06 screen
3358 root 15 0 3812 1492 1212 S 0.0 0.1 0:00.07 sh
3445 root 15 0 2152 696 536 S 0.0 0.0 0:02.07 dovecot
3446 root 15 0 2628 1060 856 S 0.0 0.1 0:00.65 dovecot-auth
3468 dovecot 15 0 5332 2216 1788 S 0.0 0.1 0:00.17 pop3-login
3469 dovecot 18 0 5348 2292 1788 S 0.0 0.1 0:00.37 pop3-login
3470 dovecot 16 0 5308 2048 1648 S 0.0 0.1 0:00.10 imap-login
3471 dovecot 15 0 5308 2036 1648 S 0.0 0.1 0:00.03 imap-login
3503 root 26 10 6476 1480 1120 S 0.0 0.1 0:00.00 pure-ftpd
3505 root 18 0 6204 1240 996 S 0.0 0.1 0:00.00 pure-authd
3514 root 15 0 4488 1124 560 S 0.0 0.1 0:00.06 crond
3685 root 19 0 15196 9120 1780 S 0.0 0.4 0:00.00 cpdavd
3713 root 15 0 6096 4320 1320 S 0.0 0.2 0:00.11 queueprocd
3727 root 33 18 4188 1872 668 S 0.0 0.1 0:00.00 cpanellogd
3741 root 15 0 8920 5716 2116 S 0.0 0.3 0:02.44 tailwatchd
3822 root 24 8 34040 30m 2348 S 0.0 1.5 0:01.54 spamd
3841 mailman 31 8 10648 4368 776 S 0.0 0.2 0:00.00 mailmanctl
3849 mailman 23 8 10396 6068 2484 S 0.0 0.3 0:01.61 python
3850 mailman 23 8 10396 6216 2548 S 0.0 0.3 0:01.58 python
3851 mailman 23 8 10396 6072 2484 S 0.0 0.3 0:01.54 python
3852 mailman 23 8 10396 6248 2552 S 0.0 0.3 0:01.61 python
3853 mailman 23 8 10412 6104 2484 S 0.0 0.3 0:01.57 python
|
Posted by OSPDX, 12-06-2011, 10:31 PM |
Right now, your system is going slow because there's something creating an archive and the disks are getting hit really hard. The gtar and possibly the md5sum lines indicate this.
Type "top" again, this time press "c" on your keyboard after it's open. It will show you the entire commandline used in the gtar and md5sum lines so you can gain some insight into what they are doing. If you feel that it is safe to terminate it and you feel that it is necessary to terminate it rather than letting it finish, type "kill 1261". If you want my opinion on whether it's safe to terminate it, feel free to post the new output of top after pressing "c".
|
Posted by tihhc, 12-06-2011, 10:38 PM |
Hello,
Thanks.
==
top - 09:36:23 up 3:30, 3 users, load average: 5.15, 4.47, 3.93
Tasks: 135 total, 2 running, 132 sleeping, 0 stopped, 1 zombie
Cpu(s): 0.0%us, 1.3%sy, 0.3%ni, 74.5%id, 23.9%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2097152k total, 1045636k used, 1051516k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1261 sv2statu 34 19 3744 1072 908 D 2.8 0.1 0:41.42 /bin/gtar -c -f - .
18012 root 21 4 11032 4500 3416 S 1.1 0.2 0:00.02 /usr/sbin/exim -Mc 1RY7NA-0004gJ-Mt
3312 root 16 0 10172 2868 2304 R 0.6 0.1 0:00.03 sshd: root@pts/3
16271 mysql 21 6 437m 92m 5512 S 0.6 4.5 66:10.99 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mys
17963 root 15 0 2408 1104 816 R 0.6 0.1 0:00.07 top
1 root 15 0 2156 668 580 S 0.0 0.0 0:01.37 init [3]
1129 root 21 -4 2572 884 344 S 0.0 0.0 0:00.00 /sbin/udevd -d
1232 root 15 0 1736 380 324 S 0.0 0.0 0:00.26 /usr/local/cpanel/bin/cpuwatch 8 /scripts/pkgacct sv2statu
1233 root 34 19 12232 9484 1748 S 0.0 0.5 0:00.29 pkgacct - sv2statu - av: 3 - waiting for subprocess: 1260
1254 root 21 0 32696 568 464 S 0.0 0.0 0:00.00 brcm_iscsiuio
1260 root 37 19 12232 8196 460 S 0.0 0.4 0:00.00 pkgacct - sv2statu - av: 3 - subprocess
1504 root 16 0 1812 572 480 S 0.0 0.0 0:00.20 syslogd -m 0
1507 root 15 0 1760 400 336 S 0.0 0.0 0:00.00 klogd -x
1606 root 18 0 5240 744 504 S 0.0 0.0 0:00.00 ./hpiod
1611 root 15 0 12532 4480 1016 S 0.0 0.2 0:00.48 /usr/bin/python ./hpssd.py
1624 root 18 0 7204 1056 664 S 0.0 0.1 0:00.00 /usr/sbin/sshd
1633 root 15 0 8220 2328 1692 S 0.0 0.1 0:00.00 cupsd
1646 root 20 0 2832 832 664 S 0.0 0.0 0:00.00 xinetd -stayalive -pidfile /var/run/xinetd.pid
1886 nobody 19 4 15680 5408 1716 S 0.0 0.3 0:00.04 /usr/local/apache/bin/httpd -k start -DSSL
1931 nobody 19 4 0 0 0 Z 0.0 0.0 0:00.04 [httpd]
2025 nobody 19 4 15544 5284 1632 S 0.0 0.3 0:00.02 /usr/local/apache/bin/httpd -k start -DSSL
3139 nobody 19 4 15544 5268 1620 S 0.0 0.3 0:00.01 /usr/local/apache/bin/httpd -k start -DSSL
3144 nobody 19 4 15544 5336 1664 S 0.0 0.3 0:00.02 /usr/local/apache/bin/httpd -k start -DSSL
3153 nobody 19 4 15768 5700 1808 S 0.0 0.3 0:00.04 /usr/local/apache/bin/httpd -k start -DSSL
3154 nobody 19 4 15680 5420 1716 S 0.0 0.3 0:00.03 /usr/local/apache/bin/httpd -k start -DSSL
3155 nobody 19 4 15680 5420 1704 S 0.0 0.3 0:00.02 /usr/local/apache/bin/httpd -k start -DSSL
3240 nobody 19 4 15676 5328 1640 S 0.0 0.3 0:00.00 /usr/local/apache/bin/httpd -k start -DSSL
3244 nobody 19 4 15544 5352 1688 S 0.0 0.3 0:00.02 /usr/local/apache/bin/httpd -k start -DSSL
3245 nobody 19 4 15544 5172 1560 S 0.0 0.2 0:00.00 /usr/local/apache/bin/httpd -k start -DSSL
3252 nobody 19 4 15544 5420 1760 S 0.0 0.3 0:00.01 /usr/local/apache/bin/httpd -k start -DSSL
3253 nobody 19 4 15544 5256 1620 S 0.0 0.3 0:00.00 /usr/local/apache/bin/httpd -k start -DSSL
3254 nobody 19 4 15544 5168 1560 S 0.0 0.2 0:00.00 /usr/local/apache/bin/httpd -k start -DSSL
3255 nobody 21 4 15544 5348 1672 S 0.0 0.3 0:00.01 /usr/local/apache/bin/httpd -k start -DSSL
3274 ssgsecur 15 0 4940 2404 1164 S 0.0 0.1 0:00.01 imap
3277 pluscamb 19 4 29516 14m 6316 S 0.0 0.7 0:00.38 /usr/bin/php /home/pluscamb/public_html/list/admin/index.php
3284 nobody 19 4 15544 5388 1700 S 0.0 0.3 0:00.01 /usr/local/apache/bin/httpd -k start -DSSL
3287 nobody 19 4 15544 5268 1620 S 0.0 0.3 0:00.02 /usr/local/apache/bin/httpd -k start -DSSL
3289 nobody 19 4 15544 5416 1732 S 0.0 0.3 0:00.00 /usr/local/apache/bin/httpd -k start -DSSL
3290 nobody 19 4 15676 5436 1712 S 0.0 0.3 0:00.01 /usr/local/apache/bin/httpd -k start -DSSL
3297 nobody 19 4 15544 5308 1640 S 0.0 0.3 0:00.00 /usr/local/apache/bin/httpd -k start -DSSL
3300 nobody 19 4 15544 5156 1556 S 0.0 0.2 0:00.00 /usr/local/apache/bin/httpd -k start -DSSL
|
Posted by OSPDX, 12-06-2011, 10:45 PM |
The user "sv2statu" is performing a backup.
If it isn't causing unbearable problems, you should let it finish. If you want to abort it right now, type:
kill 1261
That should cause cPanel's pkgacct process to encounter an error and terminate gracefully.
|
Posted by tihhc, 12-06-2011, 10:50 PM |
thanks for your help.
|
Add to Favourites Print this Article
Also Read