Share via


CPULimitsEnabled

CPULimitsEnabled specifies whether process throttling is enabled. Process throttling can be enabled for an individual virtual server, or for the Web service overall, to limit the amount of CPU time used.

note Note Because process accounting in IIS uses Windows Job Objects to monitor CPU times for an entire process, process accounting will log and throttle only applications that are isolated in a separate process from IIS.

Process throttling and accounting are independently controlled by several other metabase properties. To properly activate process throttling, CpuLimitsEnabled must be set to true and at least one of the following properties should be set to true:CPULimitLogEvent, CPULimitPriority, CPULimitProcStop, or CPULimitPause.

Attribute Name Attribute Value
XML Data Type Boolean
WMI Data Type
Boolean
ADSI Data Type Boolean
ABO Data Type Boolean
ABO Metabase identifier
MD_CPU_LIMITS_ENABLED
Attributes INHERIT
Default Value false
MetaFlagsEx CACHE_PROPERTY_MODIFIED
User Type IIS_MD_UT_SERVER
StartingNumber Not applicable
EndingNumber 0
ID 2143

Configurable Locations

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

Code Example

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