Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/wcf/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Web services 增加传出WCF连接wsHttpBinding的数量_Web Services_Wcf_Connection_Iis 8_Wshttpbinding - Fatal编程技术网

Web services 增加传出WCF连接wsHttpBinding的数量

Web services 增加传出WCF连接wsHttpBinding的数量,web-services,wcf,connection,iis-8,wshttpbinding,Web Services,Wcf,Connection,Iis 8,Wshttpbinding,我有一对Win 2012服务器作为web服务器和WCF服务器运行,我想增加从web服务器到WCF服务器的传出连接数(似乎限制为24个) Windows 2012 R2 2个CPU(每台服务器) IIS 8.5(集成应用程序池) ASP.NET 3.5 WebForms应用程序 wsHttpBinding WCF v3.5服务 我已经证明了WCF服务器可以处理24个以上的并发连接(通过使用JMeter和800个线程加载WCF WSDL),因此这让我相信ASP.NET传出连接正在被限制 我已经

我有一对Win 2012服务器作为web服务器和WCF服务器运行,我想增加从web服务器到WCF服务器的传出连接数(似乎限制为24个)

  • Windows 2012 R2
  • 2个CPU(每台服务器)
  • IIS 8.5(集成应用程序池)
  • ASP.NET 3.5 WebForms应用程序
  • wsHttpBinding
  • WCF v3.5服务
我已经证明了WCF服务器可以处理24个以上的并发连接(通过使用JMeter和800个线程加载WCF WSDL),因此这让我相信ASP.NET传出连接正在被限制

我已经试过了

  • 添加
    maxconnections
    (同时添加到web和WS-web.config文件中)
  • 更改
    machine.config
    processModel
    httpRuntime
    值(从)
例如:

<connectionManagement>
    <add address="*" maxconnection="96"/>
</connectionManagement>


在web服务中,我也尝试过服务模型行为设置(2个CPU)



您是否尝试在
行为中设置
maxConcurrentCalls
?我怀疑这就是问题所在。您可以在这里阅读更多内容以及如何在服务配置中进行设置:如果这有助于hi@RicardoPontual,请告诉我。是的,我们已经有这套了。我没有在帖子中提到它,因为这是WCF服务(传入连接)中的一个设置。我现在更新了我的帖子来反映这一点。您是否尝试在
行为中设置
maxConcurrentCalls
?我怀疑这就是问题所在。您可以在这里阅读更多内容以及如何在服务配置中进行设置:如果这有助于hi@RicardoPontual,请告诉我。是的,我们已经有这套了。我没有在帖子中提到它,因为这是WCF服务(传入连接)中的一个设置。我现在更新了我的帖子来反映这一点。
<processModel  maxWorkerThreads="100" maxIoThreads="100" minWorkerThreads="50" />
<httpRuntime minFreeThreads="176" minLocalRequestFreeThreads="152" />
<serviceThrottling maxConcurrentCalls="32" maxConcurrentSessions="200" maxConcurrentInstances="232"/>