How To Overcome serverRuntimeappConcurrentRequestLimit?

How to overcome serverRuntime@appConcurrentRequestLimit ?

Error Description: UiPath Orchestrator HTTP Error 503.2 - Service Unavailable The serverRuntime@appConcurrentRequestLimit setting is being exceeded."

The number of connections exceeds the connection threshold, and the API gives a 503.2 error.

From API: The serverRuntime@appConcurrentRequestLimit setting is being exceeded.

From Event Logs: A worker process '**' serving application pool '%placeholder%' failed to stop a listener channel for protocol 'http' in the allotted time. The data field contains the error number.

Follow the instructions

  1. In the Machine.Config (%WINDIR%\system32\inetsrv\config\Machine.Config)

This corresponds to appConcurrentRequestLimit. Configure more for maxWorkerThreads, maxIoThreads and requestQueueLimit.

<system.web>

<processModel autoConfig="true" minWorkerThreads="50" minIoThreads="50"maxWorkerThreads="100" maxIoThreads="100" requestQueueLimit=”25000” />

  1. In the aspnet.config (C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet.config)
  1. The adjusting IIS application pool queue length

IIS Manager > ApplicationPools > Advanced Settings > Queue Length

This corresponds to appConcurrentRequestLimit as well.

<configuration>

<system.web>

<applicationPool maxConcurrentRequestsPerCPU=”25000” />