503.2 IIS Error


Full Error message: HTTP Error 503.2 - Service Unavailable. The serverRuntime@appConcurrentRequestLimit setting is being exceeded.

What is happening?

When you try to go to the Recast Management Server interface you get a page saying there's a 503.2 Error. When you attempt to use the Right Click Tools, you will get an error saying that the tools were unable to connect to the Management Server.

Why is this happening? 

This usually occurs when too many endpoints are trying to connect to a server. The limit by default is 5,000 connections. If you have more than 5,000 Recast Agents, you might come across this error. 

How do I fix the error?

Open IIS Manager and on the server node, under Management, select the Configuration Editor.

Then navigate to system.webServer and select serverRuntime. Then change the appConcurrentRequestLimit field to a higher value. We recommend to change the value over the amount of Agents you have in your environment so there is a buffer incase you add more later. 

Note: On older versions of IIS Manager, appConcurrentRequestLimit may be under system.web and httpRuntime.