Share via


AspProcessorThreadMax

AspProcessorThreadMax specifies the maximum number of worker threads per processor that IIS will create.

note Note This setting can dramatically influence the scalability of your Web applications, and the performance of your server in general.Because this property defines the maximum number of ASP requests that can execute simultaneously, this setting should remain at the default unless your ASP applications are making long-running calls to external components. In this case, you may increase the value of AspProcessorThreadMax. Doing so will allow the server to create more threads to handle more concurrent requests.

If the value of this property is changed, the Web server instance must be stopped and restarted in order for the change to take effect. The Web service setting for this property is applicable to all in-process and pooled out-of-process application nodes, at all levels. Metabase settings at the Web server level or lower will be ignored for in-process and pooled out-of-process applications. However, settings at the Web server level or lower will be used if that node 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_PROCESSORTHREADMAX
Attributes INHERIT
Default Value 10
MetaFlagsEx CACHE_PROPERTY_MODIFIED
User Type iis_md_ut_wam
StartingNumber Not applicable
EndingNumber 0
ID 7025

Configurable Locations

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

Metabase Path IIS Admin Object Type
/LM/W3SVC/n/ROOT
/LM/W3SVC/n/ROOT/virtual_directory_name
IIsWebVirtualDir
/LM/W3SVC/n IIsWebServer
/LM/W3SVC IIsWebService
/LM/W3SVC/n/ROOT/physical_directory_name
/LM/W3SVC/n/virtual_directory_name/physical_directory_name
IIsWebDirectory

Code Example

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