Issue
- PolicySync.exe.log shows errors
Request: exception - The remote server returned an error: (503) Server Unavailable. Request: failed get response from APMService. Exit PolicySync.exe with code -3
- Task may be stuck with a status of "Client has initiated asynchronous policy execution"
- IIS log shows:
POST /ApmService/PolicyRequest.asmx - 80 - 127.0.0.1 - 503 2 0 62
Cause
This is a Microsoft IIS error indicating your environment has maxed out its allowed number of connections to IIS.
- 503.2 - Concurrent request limit exceeded.
Resolution
Note: Because this deals with modifying configuration information for IIS, users assume all responsibility when implementing changes or modifications outlined in this information.
Increase the allowed number of concurrent requests in IIS as outlined by Microsoft in the article:
Click Start and then click Run.
In the Run dialog box, type notepad %systemroot%\Microsoft.Net\Framework64\v2.0.50727\CONFIG\machine.config, and then click OK.
Locate the processModel element that looks like this: <processModel autoConfig="true" />
Replace the processModel element with the following value: <processModel enable="true" requestQueueLimit="15000" />
Save and close the Machine.config file.
For Windows Server 2008, in the Run dialog box, type appcmd.exe set config /section:serverRuntime /appConcurrentRequestLimit:<#of users * 1.5>.
Note: appcmd.exe is located at %systemroot%\system32\inetsrv\appcmd.exe. It may be necessary to change directories within the command window to successfully initiate this command.