Apache Windows运行缓慢
2013-12-05 10:29
363 查看
当你配置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
错误日志中有如下提示:
[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
相关文章推荐
- 关于windows下apache运行php出现httpd.exe错误的解决方法
- 在Windows平台使用Apache2.2和Mongrel运行Ruby on Rails
- 以服务方式运行Apache for Windows
- windows下配置apache以运行CGI
- Windows 下 Apache 1.3 以 FastCGI 模式运行 PHP
- Windows监控进程服务器IIS进程状态解决CPU暴满造成服务器运行缓慢 Python版
- Windows下Apache以FastCGI模式运行PHP
- Windows下Apache+MySQL+PHP运行环境的安装图文方法
- thinkphp3.2.3版本在windows本地apache环境运行正常,上传到centos服务器apache环境中出现:thinkphp 上传根目录不存在!请尝试手动创建:uploads/
- Windows下Apache+MySQL+PHP运行环境的安装图文方法
- 在Windows平台使用Apache2.2和Mongrel运行Ruby on Rails
- 以服务方式运行Apache for Windows
- Windows下Apache以FastCGI模式运行PHP
- Hbase在 Windows下运行报错 IllegalArgumentException: Pathname /D:/download/repository/org/apache/.....
- windows下使用xampp一键安装apache+php运行环境
- windows 下apache 以fastcgi形式运行php
- Windows下手动搭建Apache 2.4.25+PHP 5.6.30+MySQL运行环境
- Windows 配置Apache以便在浏览器中运行Python script的CGI模式
- 以服务方式运行Apache for Windows
- windows中配置apache以cgi方式运行python