[This is preliminary documentation and subject to change]
This metabase property specifies whether process accounting and throttling should be performed for ISAPI extensions and ASP applications. To perform process accounting on CGI applications, use the property CPUCGIEnabled.
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 process accounting are independently controlled by several other metabase properties. In order to enable process accounting you must set CpuEnableLogging (which is a member of CPULoggingMask) to TRUE, and set at least one other CPULoggingMask property to TRUE. It is also necessary to set at least one member flag of the CPULoggingOptions, set CPULoggingInterval to a nonzero value, and set either CpuAppEnabled or CPUCGIEnabled, as appropriate, to TRUE.
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 |
| Data Type | BOOL |
| Attributes | INHERIT |
| Default Value | TRUE |
| MetaFlagsEx | CACHE_PROPERTY_MODIFIED |
| User Type | IIS_MD_UT_FILE |
| StartingNumber | |
| EndingNumber | 0 |
| ID | 2141 |
This property is accessible at the following locations:
| Metabase Path | IIS Admin Object Type |
| /LM/W3SVC/2 | IIsWebServer |
| /LM/W3SVC/Info/Templates/Public Web Site | IIsWebServer |
| /LM/W3SVC/Info/Templates/Secure Web Site | IIsWebServer |
| /LM/W3SVC | IIsWebService |
| /LM/W3SVC/1/ROOT | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/_vti_bin | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/IISAdmin | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/IISHelp | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/MSADC | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/Scripts | IIsWebVirtualDir |
| /LM/W3SVC/2/ROOT | IIsWebVirtualDir |
| /LM/W3SVC/2/ROOT/IISAdmin | IIsWebVirtualDir |
The following table lists additional information required only for code that uses the IIS Admin Base Object.
| Metabase identifier | MD_CPU_APP_ENABLED |
| Data type | BOOL |
| User type | IIS_MD_UT_FILE |