HttpRuntimeSection.AppRequestQueueLimit Property


Gets or sets a value that indicates the maximum number of requests that ASP.NET queues for the application.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

<ConfigurationPropertyAttribute("appRequestQueueLimit", DefaultValue := 5000)>
<IntegerValidatorAttribute(MinValue := 1)>
Public Property AppRequestQueueLimit As Integer

Property Value

Type: System.Int32

The maximum number of requests that can be queued.

ASP.NET queues requests when there are not enough free threads to process them.


When the number of requests queued exceeds the limit imposed by this setting, incoming requests will be rejected with a "503 - Server Too Busy" error.

The following example shows how to use the AppRequestQueueLimit property.

' Get the AppRequestQueueLimit property value.
Response.Write("AppRequestQueueLimit: " & _
  configSection.AppRequestQueueLimit & "<br>")

' Set the AppRequestQueueLimit property value to 4500.
configSection.AppRequestQueueLimit = 4500

.NET Framework
Available since 2.0
Return to top