Share via


AspProcessorThreadMax Metabase Property

Applies To: Windows Server 2003, Windows Server 2003 with SP1

The AspProcessorThreadMax property specifies the maximum number of worker threads per processor that IIS may create.

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 value unless your ASP applications are making extended calls to external components. In this case, you may increase the value of AspProcessorThreadMax. Doing so allows 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 for the change to take effect. The World Wide Web Publishing Service (WWW 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 ignores in-process and pooled out-of-process applications. However, settings at the Web server level or lower are 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

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, see Code Examples to Configure Metabase Properties.