CPUAction Metabase Property
Applies To: Windows Server 2003, Windows Server 2003 with SP1
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.
Attribute Name | Attribute Value |
---|---|
XML Data Type |
DWORD |
WMI Data Type |
SINT32 |
ADSI Data Type |
DWORD |
ABO Data Type |
DWORD |
ABO Metabase Identifier |
MD_CPU_ACTION |
Attributes |
INHERIT |
Default Value |
0 |
MetaFlagsEx |
CACHE_PROPERTY_MODIFIED |
User Type |
IIS_MD_UT_SERVER |
ID |
9022 |
Configurable Locations
You can configure this property at the following locations in the IIS metabase.
Metabase Path | IIS Admin Object Type |
---|---|
/LM/W3SVC/AppPools/DefaultAppPool /LM/W3SVC/AppPools/DefaultAppPool/application_pool_name |
IIsApplicationPool |
/LM/W3SVC/AppPools |
IIsApplicationPools |
Values
Important
Only one value from the following table should be used per application pool.
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. |
MD_CPU_TRACE |
0x00000002 |
Enables capacity tracing for the application pool when 80%of the CPU limit is reached. |
Code Example
For general code examples, see Code Examples to Configure Metabase Properties.