HcMaxQueueLength Metabase Property
Applies To: Windows Server 2003, Windows Server 2003 with SP1
IIS performs on-demand compression of static content in the background. When a static file is requested, and IIS has determined that a previously compressed version of the requested file does not already exist in the compression directory, the request is put into a simple FIFO (first in, first out) queue. The HcMaxQueueLength property specifies how many concurrent background compression requests can be in the queue. If the queue is full, additional compression requests are ignored until there is room in the queue.
If HcMaxQueueLength is set to 4294967295, there is no limit to the number of pending requests in the queue.
The metabase represents unlimited as the DWORD value of 4294967295 (0xFFFFFFFF); however, VBScript represents unlimited in hexadecimal format as &HFFFFFFFF. Previous versions of IIS represented unlimited as -1.
Attribute Name | Attribute Value |
---|---|
XML Data Type |
DWORD |
WMI Data Type |
SINT32 |
ADSI Data Type |
DWORD |
ABO Data Type |
DWORD |
ABO Metabase Identifier |
MD_HC_MAX_QUEUE_LENGTH |
Attributes |
NO_ATTRIBUTES |
Default Value |
1000 |
MetaFlagsEx |
CACHE_PROPERTY_MODIFIED |
User Type |
IIS_MD_UT_SERVER |
ID |
2224 |
Configurable Locations
You can configure this property at the following locations in the IIS metabase.
Metabase Path | IIS Admin Object Type |
---|---|
/LM/W3SVC/Filters/Compression/Parameters |
IIsCompressionSchemes |
Code Example
For general code examples, see Code Examples to Configure Metabase Properties.