Categories
木有技术

Apache服务器错误:指定的网络名不再可用 AH00341 解决方案

近来新弄的阿里云服务器在Windows Server 2008 R2上部署了Apache服务器并关闭了IIS,弄了个php站,可是总会间歇性的出现连接挂起的现象,表现为访问网页一直在转圈圈,不论静态还是动态页面。
查了一下错误日志,“发作”前有这么一行

(OS 64)指定的网络名不再可用。  : AH00341: winnt_accept: Asynchronous AcceptEx failed.

然后网上搜了一下,出现这个问题的基本都在Windows服务器上,貌似是个奇怪的通病…

Apache报错指定的网络名不再可用解决方案


http://www.oschina.net/question/998019_112854
http://forum.wampserver.com/read.php?2,92063,118454
http://www.apachelounge.com/viewtopic.php?p=21352
等等等等~
具体现象和原因,解释的比较清楚的是这个
http://blog.csdn.net/comliu/article/details/4412144
以及这个
http://www.youranshare.com/push/topics/softuse/211.html
然后说一下解决方案,就是修改你的httpd.conf文件,加这么几行

AcceptFilter http none
AcceptFilter https none
EnableSendfile off
EnableMMAP off

然后重启Apache就可以了。亲测可用

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.