AspThreadGateSleepMax
AspThreadGateSleepMax specifies the maximum number of times a specific request can be put to sleep (deferred) while IIS performs thread gating.
Important IIS performs thread gating to dynamically control the number of concurrently running threads, in response to varying load conditions. The default settings for this property, and the other thread gating properties, are designed to be appropriate for the majority of server configurations and traffic conditions. Changing these properties can lead to significant performance degradation.
Setting this property at the IIsWebService levelapplies to all in-process and pooled out-of-process application keys, at all levels. Metabase settings at the IIsWebServer level or lower will be ignored for in-process and pooled out-of-process applications. However, settings at the IIsWebServer level or lower will be used if thatkey is an isolated out-of-process application.
Attribute Name | Attribute Value |
---|---|
XML Data Type | DWORD |
WMI Data Type |
SINT32
|
ADSI Data Type | DWORD |
ABO Data Type | DWORD |
ABO Metabase identifier |
MD_ASP_THREADGATESLEEPMAX
|
Attributes | INHERIT |
Default Value | 50 |
MetaFlagsEx | CACHE_PROPERTY_MODIFIED |
User Type | iis_md_ut_wam |
StartingNumber | Not applicable |
EndingNumber | 0 |
ID | 7033 |
Configurable Locations
You can configure this property at the following locations in the IIS metabase.
Code Example
For general code examples, please see Code Examples to Configure Metabase Properties