Modify the Request Queue Limit, requestQueueLimit or Queue Length in IIS 7

When optimizing and tuning an ASP.NET application you may want to increase the value of the requestQueueLimit.  The requestQueueLimit is the maximum number of requests that can be queued by an ASP.NET process before errors get returned to the client.

Modify Request Queue Limit within the Aspnet.config 

Below, the requestQueueLimit is configured in the Aspnet.config file for a 64 bit version of the .NET 4 Framework.  The Aspnet.config exists by default, for 64bit .Net 4, in the following directory:


Adding the applicationPool element to the Aspnet.config, as shown in Figure 1, for the given .NET version means that all application pools running on IIS 7 in Integrated mode using this version of the .NET framework will be impacted by the modification.

Figure 1, settings for the applicationPool element.

Modify Queue Length for a given Application Pool

Below, shown in Figure 2, the Queue Length is configured from the Advanced Settings of a specific Application Pool.

Figure 2, settings for the application pool

The Queue Length is the maximum number of requests that will be queued, when exceeded new requests will receive a 503 “Service Unavailable” response.


In most cases the default configuration will work best, therefore only make modifications when you are certain of the need and impact.

Comments (5)

  1. Anonymous says:

    your work is good and it is full of knowledge thanks for the share.

  2. Anonymous says:

    How can we monitor the current queue length in order to decide whether an increase is necessary?

  3. Anonymous says:

    If you are looking for more info on IIS  & ASP.NET request queues, this should help:…/all-about-iis-asp-net-request-queues



  4. Anonymous says:

    I would like to know how can we change the  Value fo Queue length for a specific App Pool  using a powershell command or script. We have Multiple IIS servers and i would like to change this Value from default 1000 to 9000(Max). your suggestion will be appreciated.

  5. Anonymous says:

    Is there any way to set HTTP request queue limit for WCF service that is hosted outside of IIS?