牛骨文教育服务平台(让学习变的简单)
博文笔记

apache经常卡死解决办法

创建时间:2015-12-29 投稿人: 浏览次数:1735

(windows)在dos下运行netstat -ant|find "CLOSE_WAIT"的数量,如果很多,并且很长时间不关闭,尝试添加以下配置。


关于TIME_WAIT、CLOSE_WAIT各种状态参考以下文章:

http://www.cnblogs.com/sunxucool/p/3449068.html

http://www.cnblogs.com/thinksasa/archive/2013/03/05/2944880.html

TCP状态迁移,CLOSE_WAIT & FIN_WAIT2 的问题

http://blog.chinaunix.net/uid-24585858-id-2125514.html


apache优化:

http://www.365mini.com/page/apache-concurrency-configuration.htm


(假如有通道异常, 阻塞等问题, 请设置如下配置.)

AcceptFilter http none 
AcceptFilter https none 
EnableSendfile off 
EnableMMAP off 
声明:该文观点仅代表作者本人,牛骨文系教育信息发布平台,牛骨文仅提供信息存储空间服务。