...
Some Windows platforms may generate perflib errors in the event log file relating to the use of performance counters. To suppress these errors, follow the commands described below.
...
The usual error in the event log is as follows:
...
vent \nEvent ID: 1010
\nDetail Detail Text:
\nThe The Collect Procedure for the (service name) service in DLL (DLL name) generated an exception or returned an invalid status. Performance data returned by counter DLL will not be returned in Perf Data Block. Exception or status code returned is DWORD 0.
\n
\nInterpretation
Interpretation:
\nPerflib Perflib calls the performance extension functions in a structured exception handler __try block. This is posted if an exception occurred or RaiseException was called in the Collect function. The data field will have the exception code. For example, C0000005 means there was an Access Violation.
\n
\nExpertise
Expertise: Developer of named extensible counter DLL
...
To suppress these error messages, edit the following key in the Windows Registry:
...
HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionPerflib
...
The value to modify is a REG_DWORD value called Configuration Flags.
...
If this value is not present, add it and select one of the following values:
\n \n
0x01 | |||
0x01 | \nDo not test for data buffer \nalignment alignment errors. Suppresses 1016 \neventevent. \n | \n||
0x02 | \nDo not disable DLLs when a \ncritical critical error occurs but still post \nthe the events. \n | \n||
0x04 | \nDisable all perf counter \nfunction function testing regardless of testing \nlevel. \n | \n||
level. | |||
0x08 | \n0x08 | \nEnable the disabling of DLLs if timeouts are exceeded. \nNormally Normally only other critical errors would disable DLLs. | \n|
0x10 | \nEnable the collection of statistics for each performance DLL. This is the default of Configuration Flags, if the value is not present. \n | \n
...
The generally recommended value is 0x04 as this will generally cause perflib to ignore most errors and not stop the loading of performance counters after an error.
...
You can suppress additional logging entries by changing the following values in the KEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionPerflib key:
...
ExtCounterTestLevel
...
1 |
1 | \nobject and counter lengths are checked for consistency \n \n | \n|
2 | \nbuffer overflows or guard pages are checked \n | \n|
3 | \nno checking is made but does not suppress exception handling \n | \n
...
EventLogLevel
...
EventLogLevel
...
0 | \nno errors are reported \n | \n||
1 | \nuser event log error messages (1000-1013) \n | \n||
2 | \nwarnings and errors used for debugging (1000-2002) \n \n | \n||
3 | \nverbose, all information (1000-3000) \n \n | \n
...
Set the EventLogLevel value to 0.
...
If you continue to encounter errors, contact uptime Support for further assistance.