AppPoolQueueLength Metabase Property

Applies To: Windows Server 2003 with SP1

The AppPoolQueueLength property indicates to HTTP.sys how many requests to queue up for an application pool before rejecting future requests. When the limit for this property is exceeded, IIS rejects the additional requests with a 503 error.

Note

For Windows Server 2003 with Service Pack 1 (SP1), the default value of this property has changed from 4000 to 1000. If you had IIS 6.0 installed before applying SP1 to your server, the value will not be changed; however, you should consider lowering the value for performance reasons.

Note

If you set this property to a value outside the range, you receive a 1041 error in the event log.

Attribute Name Attribute Value

XML Data Type

DWORD

WMI Data Type

SINT32

ADSI Data Type

DWORD

ABO Data Type

DWORD

ABO Metabase Identifier

MD_APPPOOL_UL_APPPOOL_QUEUE_LENGTH

Attributes

INHERIT

Default Value

1000

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

9017

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path IIS Admin Object Type

/LM/W3SVC/AppPools/DefaultAppPool /LM/W3SVC/AppPools/DefaultAppPool/application_pool_name

IIsApplicationPool

/LM/W3SVC/AppPools

IIsApplicationPools

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.