共用方式為


CPUAction

The CPUAction property configures the action(s) that IIS takes when Microsoft Windows NT ? job objects run. Only one Windows NT job object exists per application pool, therefore the CPUAction property is configured on a per application pool basis.

CPUAction can be set to only one of the following possible values:

Constant

Value

Description

MD_CPU_NO_ACTION

0x00000000

No action is taken except that a warning is written to the event log when the CPU limit is exceeded.

MD_CPU_KILL_W3WP

0x00000001

Application pool worker processes that exceed their CPU limit will be forced to shut down.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

DWORD

ABO Data Type

DWORD_METADATA

Schema Default

0

Internal Default

Not specified.

Upper Bound

3

Lower Bound

Not specified

Internal ID

9022

Friendly ID

MD_CPU_ACTION

Property Attributes

INHERIT

User Type

IIS_MD_UT_SERVER

Configurable Locations

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

Metabase Path

IIS Admin Object Type

/LM/W3SVC/AppPools/application_pool_name

IIsApplicationPool

/LM/W3SVC/AppPools

IIsApplicationPools

Flags

There are no flags for this property.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also