西数超哥博客
运维经验教程分享

apache winnt_accept: Asynchronous AcceptEx failed 解决方案

当你配置apache 访问网页一直在加载,似乎被挂起. 转圈需要3分钟多钟, 最终显示无法访问. 或者超时.
错误日志中有如下提示:

[Thu May 30 10:33:31.148293 2013] [mpm_winnt:warn] [pid 8072:tid 1756] (OS 64)指定的网络名不再可用。  : AH00341: winnt_accept: Asynchronous AcceptEx failed.

已经可以解决了, 我翻阅了xampp官方的配置文档, 发现如下信息:
# XAMPP: We disable operating system specific optimizations for a listening
# socket by the http protocol here. IE 64 bit make problems without this.
理解为关闭系统监听, 浏览器监听等, 最后一句说明ie 64位可能不受影响.  win8 64位系统上的ie事实上一个进程, 这句话还需要分析测试.

apachelounge也有人提到这个问题:
When you have hangs, slow traffic and/or when having in your log entries like Asynchronous AcceptEx failed. You can try the following settings:

解决方案, 在配置文件中加入:
AcceptFilter http none
AcceptFilter https none
EnableSendfile Off
EnableMMAP off

赞(0)
声明:本站发布的内容(图片、视频和文字)以原创、转载和分享网络内容为主,若涉及侵权请及时告知,将会在第一时间删除。本站原创内容未经允许不得转载:西数超哥博客 » apache winnt_accept: Asynchronous AcceptEx failed 解决方案