#########################################################
#针对网站慢的处理 实战
#date:2011-08-09
#作者:Jeacen
#QQ:198888885 MAIL:jeacen@lamphelp.org
#blog: http://jeacen.blog.51cto.com
#psite: http://www.lamphelp.org
#pblog:http://www.jeacen.com
##########################################################
网站故障处理
现象:访问慢:
解决:
202.108,202.xxx 两web apache配置
httpd.conf 中开启Include conf/extra/httpd-mpm.conf
编辑conf/extra/httpd-mpm.conf 注释原mpm_worker_module默认怎书,增加如下参数为
重起apache一切正常.
不太正常的现象.
[root@jeacen conf]# netstat -n | awk ''/^tcp/ { S[$NF]} END {for(a in S) print a, S[a]}''
TIME_WAIT 1
FIN_WAIT1 1
ESTABLISHED 513
[root@jeacen conf]# netstat -an|grep EST|more
tcp 0 0 192.168.0.6:11211 192.168.0.6:5931 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:5929 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:34344 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:34348 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:5923 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:34337 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:5664 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:5671 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.8:23595 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:34340 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:5924 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:6459 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:34361 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:6456 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:34367 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:6207 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:6205 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:34364 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:34354 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:34352 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:5936 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:5686 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:34357 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:6452 ESTABLISHED
tcp 0 0 192.168.0.6:11211 192.168.0.6:6409 ESTABLISHE |