none
The request to create a reliable session has been refused by the RM Destination. RRS feed

  • Question

  • Hi, 

    am getting such exception, why? As I read that need increase maxPendingSession count from 4 to max, BUT this what mean that wcf can handle only 4 session? Or it wcf stuck with session create/remove somewhere?

    "System.ServiceModel.ServerTooBusyException: The request to create a reliable session has been refused by the RM Destination. Server 'net.tcp://localhost:10511/test.svc' is too busy to process this request. Try again later. The channel could not be opened."

    Thanks

    Tuesday, September 24, 2013 10:33 AM

Answers

  • Hello Sergei,

    I ran into this issue when playing around with a sample project: WCF Sample Service Callbacks

    As you stated you need to apply some configuration to how the service throttles:

    <behavior name="DataServiceBehavior">
              <serviceMetadata httpGetEnabled="true" />
              <serviceDebug includeExceptionDetailInFaults="false" />
              <serviceThrottling maxConcurrentCalls="128" maxConcurrentSessions="128"
                maxConcurrentInstances="128" />
            </behavior>

    In general, the WCF designers chose to have the default settings low to protect both the client and service from intentional or unintentional attacks.  In general, these settings work for most cases.

    In your particular are you sending in multiple concurrent requests for your test service or is there another issue where the service is not handling a request correctly?


    Jeff

    Wednesday, September 25, 2013 12:31 AM