一步一个脚印
发布时间: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]}' #所有状态.........【阅读全文】
发布时间:2013-04-27 18:29:43
linux 双线ip设置(不需额外增加路由表,只需修改下面就ok了)修改 vi /etc/iproute2/rt_tables (增加电信和网通两个路由表)增加252 tel (电信) 251 cnc (网通) &nb.........【阅读全文】