Windows Server 2008 RC-连接错误-Apache基准

Windows Server 2008 RC-连接错误-Apache基准,windows,windows-server-2008,Windows,Windows Server 2008,如果我们想运行一些基准测试,下面是 /ab.exe -n 500 -c 300 -v 1000 -k http://server:port/test.html 导致“连接被拒绝”: 是否有可能取消“限制”?适用哪种限制?我们在Windows事件日志中看不到任何内容 如果我们呼叫较少的连接,它会工作: ./ab.exe -n 500 -c 257 -k http://server:port/test.html 有人知道如何找到相应的限制吗?以及如何停用,因为我们没有足够的主机为请求使用不同的I

如果我们想运行一些基准测试,下面是

/ab.exe -n 500 -c 300 -v 1000 -k http://server:port/test.html
导致“连接被拒绝”:

是否有可能取消“限制”?适用哪种限制?我们在Windows事件日志中看不到任何内容

如果我们呼叫较少的连接,它会工作:

./ab.exe -n 500 -c 257 -k http://server:port/test.html

有人知道如何找到相应的限制吗?以及如何停用,因为我们没有足够的主机为请求使用不同的IP。

解决方案是取消注释httpd.conf中包含的MPM配置

# Server-pool management (MPM specific)
Include conf/extra/httpd-mpm.conf
然后找到
mpm\u winnt\u模块
,并将线程计数从当前值更改为所需的任何值

<IfModule mpm_winnt_module>
    ThreadsPerChild      1000
    MaxRequestsPerChild    0
</IfModule>

螺纹帕尔希尔德1000
MaxRequestsPerChild 0
<IfModule mpm_winnt_module>
    ThreadsPerChild      1000
    MaxRequestsPerChild    0
</IfModule>