一步一个脚印
发布时间:2013-05-08 11:27:44
Apache (113)”No route to host:proxy…”两台Linux服务器,前台是192.168.3.100,后台是192.168.3.102用Proxypass做反向代理某天频繁出错查看error_log,当出现错误:(113)No route to host: proxy: HTTP: attempt to connect to 192.168.3.102:8081 (192.168.3.102) failed之后,代理便.........【阅读全文】
发布时间:2013-05-08 11:23:09
防止linux出现大量 FIN_WAIT1,提高性能Written by xkou on November 25th, 2007当连接数多时,经常出现大量FIN_WAIT1,可以修改 /etc/sysctl.conf修改net.ipv4.tcp_fin_timeout = 10net.ipv4.tcp_keepalive_time = 30net.ipv4.tcp_window_scaling = 0net.ipv4.tcp_sack = 0然后:.........【阅读全文】
发布时间:2013-05-08 11:17:09
ps -ef|grep httpd|wc -l #请求数netstat -nat|grep -i "80"|wc -l #并发数netstat -na|grep ESTABLISHED|wc -l #已建立的连接数netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}' #所有状态.........【阅读全文】