- 积分
- 40
- 威望
-
- 金钱
-
- 注册时间
- 2010-9-14
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
最近使用LNMP的服务器一直显示502的错误,怎么优化调整都不行。请问是不是跟CPU的占用特别高有关系?
[root@localhost ~]# 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 PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
21789 mysql 19 0 452m 399m 4512 S 352.7 13.2 4054:22 mysqld
15033 www 16 0 27852 10m 4888 S 9.3 0.4 0:01.28 php-cgi
14955 www 16 0 26572 9528 4832 S 8.6 0.3 0:01.38 php-cgi
632 root 10 -5 0 0 0 D 2.0 0.0 646:27.11 kjournald
15267 www 16 0 27592 10m 4812 S 1.3 0.3 0:00.42 php-cgi
15384 www 16 0 26824 9528 4600 S 1.3 0.3 0:00.26 php-cgi
10655 www 15 0 20300 14m 888 S 1.0 0.5 7:21.15 nginx
14811 www 15 0 28368 10m 4880 S 1.0 0.4 0:01.54 php-cgi
15144 www 15 0 27336 9.9m 4644 S 1.0 0.3 0:00.67 php-cgi
15172 www 18 0 28356 10m 4728 S 1.0 0.4 0:00.73 php-cgi
15356 www 15 0 27336 10m 4792 S 1.0 0.3 0:00.34 php-cgi
15734 www 15 0 27584 9824 4176 S 1.0 0.3 0:00.04 php-cgi
15804 www 15 0 27584 9728 4048 S 1.0 0.3 0:00.04 php-cgi
14952 www 15 0 27336 9m 4728 S 0.7 0.3 0:01.24 php-cgi
14992 www 16 0 27640 10m 4752 S 0.7 0.3 0:01.12 php-cgi
15028 www 16 0 28100 10m 4720 S 0.7 0.4 0:01.10 php-cgi
15037 www 15 0 27588 10m 4736 S 0.7 0.3 0:01.21 php-cgi
[root@localhost ~]#
[ 本帖最后由 ronald 于 2013-4-26 16:25 编辑 ] |
|