mysql 的CPU占用率太大,达到352%!怎样降下来?
最近使用LNMP的服务器一直显示502的错误,怎么优化调整都不行。请问是不是跟CPU的占用特别高有关系?# top
top - 16:14:16 up 54 days, 15:16,1 user,load average: 21.31, 24.74, 48.50
Tasks: 184 total, 5 running, 178 sleeping, 0 stopped, 1 zombie
Cpu(s): 62.8%us, 36.0%sy,0.0%ni,0.0%id,0.6%wa,0.1%hi,0.5%si,0.0%st
Mem: 3107104k total,1504164k used,1602940k free, 22752k buffers
Swap:4128760k total, 244k used,4128516k free, 671788k cached
PID USER PRNIVIRTRESSHR S %CPU %MEM TIME+COMMAND
21789 mysql 19 0452m 399m 4512 S 352.7 13.2 4054:22 mysqld
15033 www 16 0 2785210m 4888 S9.30.4 0:01.28 php-cgi
14955 www 16 0 26572 9528 4832 S8.60.3 0:01.38 php-cgi
632 root 10-5 0 0 0 D2.00.0 646:27.11 kjournald
15267 www 16 0 2759210m 4812 S1.30.3 0:00.42 php-cgi
15384 www 16 0 26824 9528 4600 S1.30.3 0:00.26 php-cgi
10655 www 15 0 2030014m888 S1.00.5 7:21.15 nginx
14811 www 15 0 2836810m 4880 S1.00.4 0:01.54 php-cgi
15144 www 15 0 27336 9.9m 4644 S1.00.3 0:00.67 php-cgi
15172 www 18 0 2835610m 4728 S1.00.4 0:00.73 php-cgi
15356 www 15 0 2733610m 4792 S1.00.3 0:00.34 php-cgi
15734 www 15 0 27584 9824 4176 S1.00.3 0:00.04 php-cgi
15804 www 15 0 27584 9728 4048 S1.00.3 0:00.04 php-cgi
14952 www 15 0 27336 9m 4728 S0.70.3 0:01.24 php-cgi
14992 www 16 0 2764010m 4752 S0.70.3 0:01.12 php-cgi
15028 www 16 0 2810010m 4720 S0.70.4 0:01.10 php-cgi
15037 www 15 0 2758810m 4736 S0.70.3 0:01.21 php-cgi
#
[ 本帖最后由 ronald 于 2013-4-26 16:25 编辑 ] 晕 真高:lol :lol :lol 同求解决办法 我的有时候700%怎么破?同求解决方法,是不是被人攻击了啊
页:
[1]