【问题标题】:Performance problems with net.tcp binding using WAS in IIS在 IIS 中使用 WAS 进行 net.tcp 绑定的性能问题
【发布时间】:2012-07-20 12:57:02
【问题描述】:

即使在最小负载下,托管在 IIS 中的 net.tcp 服务也面临问题。相同的服务也通过 HTTPS 从另一个端点公开。使用 HTTPS 的客户端可以正常工作。

环境细节: Windows 7 SP1,64 位,x64 .Net Framework 4.0 更新

我们已经安装了可从此处获得的修补程序 http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=35626

我们已经在启用和禁用端口共享以及关闭 net.tcp 绑定的安全性的情况下尝试了我们的服务。

即使在中等负载下,服务也会停止。但是,如果我们发送单个请求,该服务将继续工作。

任何关于 web.config 或 SmSvcHost.exe.config 以使服务稳定的指针都会非常有帮助。

<binding closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00"
        sendTimeout="00:01:00" transactionFlow="false" transferMode="Buffered"
        transactionProtocol="OleTransactions" hostNameComparisonMode="StrongWildcard"
        maxBufferPoolSize="8388608" maxBufferSize="1048576" maxConnections="50"
        maxReceivedMessageSize="1048576">
    <readerQuotas maxDepth="32" maxStringContentLength="1048576"
        maxArrayLength="1048576" maxBytesPerRead="1048576" maxNameTableCharCount="1048576" />
    <security mode="Transport">
        <transport protectionLevel="None" />
    </security>
</binding>

【问题讨论】:

  • 您是否指定了任何服务限制设置?比如 MaxConcurrentCalls/maxConcurrentSessions?如果是这样,请将其发布在您的问题中。
  • 不,我们没有指定任何限制设置。

标签: wcf net.tcp


【解决方案1】:

热修复似乎已经解决了这个问题。似乎没有正确安装。重新安装它可以解决问题。

【讨论】:

    猜你喜欢
    • 2011-07-21
    • 1970-01-01
    • 1970-01-01
    • 2015-01-28
    • 2012-01-21
    • 1970-01-01
    • 2012-03-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多