您现在的位置是:首页 >学习教程 > 于Apache (OS 64)指定的网络名不再可用网站首页学习教程
于Apache (OS 64)指定的网络名不再可用
说说这两天遇到的问题,Apache error_log,总是会出现“ (OS 64)指定的网络名不再可用。 : AH00341: winnt_accept: Asynchronous AcceptEx failed.”这个错误,导致页面老是在等待中。到网上寻找解决方法,解决方法几乎都是在http.conf里面增加配置:
<IfModule mpm_winnt_module>
ThreadsPerChild 1920
#MaxConnectionsPerChild
MaxRequestsPerChild 10000
Win32DisableAcceptEx
</IfModule>
在服务器上试了,但是,重启apache的时候又出现了问题,启动不起来了。
windows日志报错提示:Invalid command “Win32DisableAcceptEx”, perhaps misspelled or defined by a module not included in the server configuration
如果出现以上错误,尝试以下:apache2.4及以上的版本“AcceptFilter None”取代了“Win32DisableAcceptEx”总结来说,遇到“(OS 64)指定的网络名不再可用。”
这个问题:
1、如果你的apache版本为APAche2.0.49及以上版本,增加Win32DisableAcceptEx配置项
2、如果你的apache版本为APAche2.4及以上版本,增加
AcceptFilter http None
AcceptFilter https None
配置项替代
“Win32DisableAcceptEx”
EnableMMAP
offEnableSendfile off
下一篇:检测apache是否配置错误