Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

\n \n \n \n \n \n \n \n \n \n \n \n \n
Related DocumentationVersion of up.time \naffectedAffected Platforms

\n
AllWindows
\n \n

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.

\n \n

The usual error in the event log is as follows:

\n \n

\nEvent ID: 1010
\nDetail Text:
\nThe 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:
\nPerflib 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: Developer of named extensible counter DLL

\n \n

To suppress these error messages, edit the following key in the Windows Registry:

\n \n
 HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionPerflib
\n \n

The value to modify is a REG_DWORD value called Configuration Flags.

\n \n

If this value is not present, add it and select one of the following values:

\n \n

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
0x01Do not test for data buffer \nalignment errors. Suppresses 1016 \nevent.
\n
0x02 Do not disable DLLs when a \ncritical error occurs but still post \nthe events.
\n
0x04 Disable all perf counter \nfunction testing regardless of testing \nlevel.
\n
0x08 Enable the disabling of DLLs if timeouts are exceeded.
\nNormally only other critical errors would disable DLLs.
0x10 Enable the collection of statistics for each performance DLL.
This is the default of Configuration Flags, if the value is not present. \n
\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.

\n \n

You can suppress additional logging entries by changing the following values in the KEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionPerflib key:

\n \n

ExtCounterTestLevel

\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
1object and counter lengths are checked for consistency \n
\n
2buffer overflows or guard pages are checked
\n
3no checking is made but does not suppress exception handling
\n
\n

EventLogLevel

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
0no errors are reported
\n
1user event log error messages (1000-1013)
\n
2warnings and errors used for debugging (1000-2002) \n
\n
3verbose, all information (1000-3000) \n
\n
\n \n

Set the EventLogLevel value to 0.

\n \n

If you continue to encounter errors, contact uptime Support for further assistance.

  • No labels