Fix too many FIN_WAIT_2 connections under freebsd
2007-10-03 16:44
447 查看
原贴:http://www.sofee.cn/blog/2006/08/26/33/
August 26, 2006 at 14:54:57 · Filed under Lighttpd, Apache, FreeBSD
查看FIN_WAIT_2连接数:
修改Lighttpd配置文件,加入下面这条语句:
如果服务器开启了ipfw2防火墙的话,还需要执行:
p.s. 若为APACHE服务器,同理。
Fix too many FIN_WAIT_2 connections under freebsd
No TagsAugust 26, 2006 at 14:54:57 · Filed under Lighttpd, Apache, FreeBSD
查看FIN_WAIT_2连接数:
bsd#netstat -an | grep FIN_WAIT_2 | wc -l 2523
修改Lighttpd配置文件,加入下面这条语句:
server.max-keep-alive-requests = 0
bsd#netstat -an | grep FIN_WAIT_2 | wc -l 91
如果服务器开启了ipfw2防火墙的话,还需要执行:
sysctl -w net.inet.ip.fw.dyn_keepalive=0
p.s. 若为APACHE服务器,同理。
相关文章推荐
- MySQL Server Error:Too many connections ( 1040 )
- make.conf under my freebsd 10
- 关于MySQL的 too many connections
- 关于PHP出现Too many connections 的问题
- too many connections
- Mysql连接数太多ERROR 1040 (HY000): Too many connections
- too many connections 解决方法
- MySQL出现too many connections(1040)错误的解决办法
- Mysql出现Too many connections的解决方法
- MySQL中 Too many connections错误的解决办法
- openstack数据库报错1040:too many connections,修改MariaDB最大连接数
- Mysql Too Many Connections问题解决
- 解决mysql集群模式中出现“1040,too māny connections”
- MySQL 1040 Too many connections 问题解决
- mysql "too many connections" 错误 之 mysql解决方法
- mysql Too many connections
- 解决mysql 1040错误Too many connections的方法
- mysql too many connections解决
- Data source rejected establishment of connection, message from server: "Too many connections"
- MySQL提示“too many connections”的解决办法