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
c # wcf wcf-binding nettcpbinding load-balancing


source to share


No one has answered this question yet

Check out similar questions:

2397
What are the correct version numbers for C #?
8
MaxSessionsPerAddress issue when using WCF PollingDuplex and Silverlight client
4
WCF Authentication Error
1
WCF - setting for custom binding
0
WCF service timed out - service takes minutes to respond to simple request
0
Is CommunicationException always / almost always a service issue?
0
ASP.NET membership. Is the authenticated user lost when calling a WebService in the same WebApp
0
using DTOs with WCF
0
The transaction started only on the client side
0
WCF Service - 400 Dynamic Proxy Request Error



All Articles
Loading...
X
Show
Funny
Dev
Pics