Udostępnij za pośrednictwem


CPULimit Metabase Property

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

The CPULimit property configures the maximum percentage of CPU time (in 1/1000ths of a percent) that the worker processes in an application pool are allowed to consume over a period of time as indicated by the CPUResetInterval Metabase Property property. If the limit set by the CPULimit property is exceeded, an event is written to the event log and an optional set of events can be triggered as determined by the CPUAction Metabase Property property.

Note

Setting the value of this property to 0 disables limiting the worker processes to a percentage of CPU time.

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_LIMIT

Attributes

INHERIT

Default Value

0

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

9023

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

Code Example

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