TROUBLESHOOTING


System configuration issue for platform statistics on Windows systems
On Microsoft® Windows, an error may occur when loading certain performance dlls. If they do not function properly or take too long to pass data, the operating system automatically adds a value to the following Performance registry subkey where TypeOfPerfService may be PerfProc, PerfOS, or NoteStat:

HKEY_LOCAL_MACHINE\SYSTEM\Services\CurrentControlSet\<TypeOfPerfService>\Performance.
When the error occurs, the value for the variable "Disable Performance Counters" is set to 1, which disables performance counters for statistics such as CPU utilization (Platform.System.PctCombinedCpuUtil) or Memory (Platform.Memory.PagesPerSec). These counters are found under the services PerfOS, PerfDisk, PerfProc and PerfNet.

If these statistic counters cannot be located, you may get the following error message, printed to both the event log and the console:

Platform Stats: _PSHandleDefaultCmd() Unable to set up default counters error =..."
Although the system may have set the "Disable Performance Counters" variable under a period of extreme stress on the system, once it has been set, this variable continues to disable all performance counters relating to its.dll, until it is manually set back to zero or deleted.

To reset the default counters, search the registry for the phrase "Disable Performance Counters." If it occurs under PerfOS, PerfDisk, PerfProc or PerfNet, manually set it back to zero or delete the entire variable.

See also