WCF NetTCPBinding in a load balanced environment What is the correct configuration?

I have been struggling to fix wcf issues on our production servers. One of the errors: "The server refused the update request." among other strange errors I get. Our applications run in a Citrix environment for the frontend, and our application servers support our WCF services. We have two application servers configured for load balancing and this KEMP server supports sticky ip as we are using nettcpbinding. However, I'm not sure if the NetTCP settings are correct, as the application often uses 100% CPU when more than 5 users log into the application. After iisreset, it takes about an hour for this to happen again. Below is the NETTcpBinding configuration below:

<bindings>
  <netTcpBinding>
    <binding name="NetTcpLargeBindingEndpoint"
             closeTimeout="00:05:00"
             openTimeout="00:05:00"
             receiveTimeout="00:15:00"
             sendTimeout="00:15:00"
             transactionFlow="false"
             transferMode="Buffered"
             transactionProtocol="OleTransactions"
             hostNameComparisonMode="StrongWildcard"
             maxBufferPoolSize="2147483647"
             maxBufferSize="2147483647"
             maxReceivedMessageSize="2147483647"
             listenBacklog="10"
             portSharingEnabled="false"
            >
      <reliableSession enabled="false"/>
      <readerQuotas maxArrayLength="2147483647" maxStringContentLength="2147483647" />
      <security mode="Transport">
        <transport clientCredentialType="Windows" />
        <message clientCredentialType="UserName" algorithmSuite="Default" />
      </security>
    </binding>
  </netTcpBinding>
</bindings>

      

I tried to find articles for the correct settings for nettcpbindng but no luck and the most helpful is this msdn article:

https://msdn.microsoft.com/en-us/library/vstudio/hh273122(v=vs.100).aspx Is there something I am doing wrong with this setting? Please, help

+3


source to share





All Articles