How do I configure IIS-10 and FastCGI for high concurrency?

enter image description here

Are there any other settings we should be looking at under DefaultAppPool?

enter image description here

UPDATE: A few things should be clarified for other who might search this:

asked Jan 8, 2021 at 22:42 163 2 2 gold badges 3 3 silver badges 12 12 bronze badges

2 Answers 2

Instance MaxRequests: Controls the FastCGI process-recycling behavior. Specifies the maximum number of requests that a FastCGI application is allowed to handle before the process is recycled. The default value is 200.

Max Instances: Specifies the maximum number of FastCGI processes to allow in the application process pool for the selected FastCGI application. This number also represents the maximum number of concurrent requests that the FastCGI application can handle. The default value is 4.

Queue Length: Specifies the maximum number of requests that are queued for the FastCGI application pool. When the queue is full, subsequent requests return the HTTP error code 503 (Service Unavailable) to clients. This error code indicates that the application is too busy. The default value is 1000.

Rapid Fails PerMinute: Specifies the maximum time allowed for a request to the application. If a FastCGI process takes longer than the specified time on a single request, it is terminated. The default value is 90 seconds.

Application Pools:

Queue Length: Indicates to HTTP.sys how many requests to queue for an application pool before rejecting future requests. The default value is 1000.

Maximum Worker Processes: Indicates the maximum number of worker processes that would be used for the application pool.

For the attributes in Recycling, you can refer to this link: