Share via


Event ID 1015 — Performance Library Availability

Applies To: Windows Server 2008 R2

Performance counters, including those built in to the operating system and those provided by non-Microsoft vendors, are combined in the Performance Library. Performance monitoring applications such as Windows Reliability and Performance Monitor use the Performance Library to identify available counters and map to counter providers. Errors accessing the Performance Library may result in application errors when expected data cannot be found, or when expected data providers are unavailable.

Event Details

Product: Windows Operating System
ID: 1015
Source: Microsoft-Windows-Perflib
Version: 6.1
Symbolic Name: PERFLIB_COLLECTION_HUNG
Message: The performance data collection function "%1!s!" in the "%2!s!" library did not complete in the allowed time. There may be a problem with this extensible counter, the service from which the counter is collecting data, or the system may have been very busy when this call was attempted.

Resolve

Increase the collection time-out period

By default, the system uses the same collection time-out period of 10 seconds (measured in milliseconds) for all services. To override this default for an individual service, change the Collect Timeout registry entry.

Caution: Incorrectly editing the registry might severely damage your system. Before making changes to the registry, you should back up any valued data.

Membership in the local Administrators group is required to complete these procedures.

To change the Collect Timeout registry entry:

  1. Click Start, click in the Start Search text box, type regedit, and then press ENTER.
  2. Navigate to the HKLM\SYSTEM\CurrentControlSet\Services\<Provider_Name>\Performance subkey, where <Provider_Name> refers to the provider experiencing the time-out (for example, "PerfOS").
  3. Double-click Collect Timeout, and then change the length of time in the Value Data box.

If the Collect Timeout registry entry does not exist, you can create it.

To create the Collect Timeout registry entry:

  1. Click Start, and in the Start Search text box, type regedit, and then press ENTER.
  2. Navigate to the HKLM\SYSTEM\CurrentControlSet\Services\\Performance subkey.
  3. On the Edit menu, point to New, and then click DWORD value.
  4. Type Collect Timeout and click OK.
  5. Double-click Collect Timeout, and then set the length of time in the Value Data box.

Verify

You can use Windows Reliability and Performance Monitor to verify that netowkr performance counters are properly collected and displayed in a Performance Monitor graph. In addition, you can use the typeperf command to get a list of the available counters on the local system.

Membership in the local Administrators group is required to complete these procedures.

View counters in Performance Monitor

To view counters in Performance Monitor:

  1. On the computer where you want to view counters, click Start. In the Start Search text box, type perfmon.exe, and then press ENTER.
  2. In the navigation pane, expand Monitoring Tools, and then click Performance Monitor.
  3. Click the Add button to open a list of available performance counters.
  4. In the Add Counters dialog box, you can click Help for more information on adding counters. When you have finished adding counters to the list, click OK.
  5. Verify that the performance counters you selected are displayed in the Performance Monitor graph.

View a list of counters using the typeperf command

To view a list of counters at the command prompt:

  1. Click Start, click All Programs, and click Accessories. Right-click Command Prompt, and click Run as administrator.
  2. At the command prompt, type typeperf -qx and press ENTER.
  3. Verify that the performance counter list contains expected values.

Performance Library Availability

Management Infrastructure