入门客AI创业平台(我带你入门,你带我飞行)
博文笔记

apache经常卡死解决办法

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

(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 
声明:该文观点仅代表作者本人,入门客AI创业平台信息发布平台仅提供信息存储空间服务,如有疑问请联系rumenke@qq.com。
  • 上一篇:没有了
  • 下一篇:没有了
未上传头像