Max Concurrent Calls

Topics: Web Api
Jan 11, 2012 at 12:44 PM

Hi all,

we are performing some load test on our server using the latest version of the WCF Web API and it seems that we are hitting some limits in the number of concurrent calls. From the log we can read quite a few times warnings like the following:

The system hit the limit set for throttle 'MaxConcurrentCalls'. Limit for this throttle was set to 64. Throttle value can be changed by modifying attribute 'maxConcurrentCalls' in serviceThrottle element or by modifying 'MaxConcurrentCalls' property on behavior ServiceThrottlingBehavior

We would like to try and experiment with different settings for this throttling. Is there a way to accomplish such a thing?



Jan 11, 2012 at 12:57 PM

This sounds like the WCF throttle limits.  Normally I would set those in the web.config on the serviceThrottling element, but since that is under a behavior I'm not sure what the best practise for WebAPI would be?  I haven't been using WCF web.config for Web API at all.