AspProcessorThreadMax

This metabase property specifies the maximum number of worker threads per processor that IIS will create.

Tip   This setting can dramatically influence the scalability of your Web applications, and the performance of your server in general. Since it 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. This will allow the server to create more threads to handle more concurrent requests.

If this metabase 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.

Data type Long
Default value 25
Inheritance Inheritable

Access Locations

This property is accessible at the following locations:

Metabase Path Key Type
/LM/W3SVC IIsWebService
/LM/W3SVC/N IIsWebServer
/LM/W3SVC/N/ROOT IIsWebVirtualDir
/LM/W3SVC/N/ROOT/WebVirtualDir IIsWebVirtualDir
/LM/W3SVC/N/ROOT/WebVirtualDir/WebDirectory IIsWebDirectory

IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier MD_ASP_PROCESSORTHREADMAX
Data type DWORD_METADATA
User type ASP_MD_UT_APP