【问题标题】:WampServer Stop Responding Live Requests after few minutes几分钟后 WampServer 停止响应实时请求
【发布时间】:2015-02-10 06:25:03
【问题描述】:

我在 WIndows 8 上使用 LIVE IP 设置了 WampServer,但使用几分钟后它停止响应请求,浏览器显示连接进度条并继续。

在同一台机器上,当我通过 localhost 访问 apache 服务器时,它工作正常。

任何解决此问题的快速帮助将不胜感激。可应要求提供更多信息。

【问题讨论】:

  • 请问您使用的是什么版本的WAMPServer
  • WampServer 2.4 Apache 2.4.4 php5.4.12 ...当我们从 3/4 个不同的用户测试服务器时,它会停止响应,但仍然适用于来自同一台机器的本地请求已安装

标签: response wampserver live


【解决方案1】:

您可以尝试将这 2 个命令添加到您的 httpd.conf 文件中,这样做已经解决了过去类似的问题。

httpd.conf 文件

添加此部分

# AcceptFilter: On Windows, none uses accept() rather than AcceptEx() and
# will not recycle sockets between connections. This is useful for network
# adapters with broken driver support, as well as some virtual network
# providers such as vpn drivers, or spam, virus or spyware filters.
AcceptFilter http none
AcceptFilter https none

就在这一行之前(大约第 480 行)

# Supplemental configuration

同样值得注意的是,Windows 8 具有最大外部连接限制,所有 Windows 桌面操作系统也是如此。 W8 限制为 20 个连接,而在早期版本中限制更小。

基本上,如果您尝试在桌面操作系统上运行服务器,即 Apache,它非常适合单个开发人员的情况。然而,它在任何类型的多用户加载下都无法正常工作,因为 Windows 桌面操作系统的配置不​​像 Windows Server。也许您应该将 WAMPServer 放在适当的服务器操作系统上,以便测试多用户负载。

【讨论】:

    猜你喜欢
    • 2015-03-04
    • 2023-03-03
    • 1970-01-01
    • 2019-10-08
    • 2018-04-15
    • 1970-01-01
    • 2019-04-09
    • 2020-02-27
    • 1970-01-01
    相关资源
    最近更新 更多