perflib错误

发布网友 发布时间:2022-04-20 10:17

我来回答

1个回答

热心网友 时间:2023-07-14 10:32

这个叫应用程序日志
Source”Perflib”:服务”PerfDisk”在Dll”c:\winnt\system32\perfdisk.dll”中的打开过程用的时间比确定的等待时间要长.
解释:
完整的日志大概是:

Event Type: Error
Event Source: Perflib
Event Category: None
Event ID: 2002
User: N/A
Description:
The open procere for service "PerfDisk" in DLL "C:\WINNT\System32\perfdisk.dll" has taken longer than the established wait time to complete. There may be a problem with this extensible counter or the service it is collecting data from or the system may have been very busy when this call was attempted.

至于微软,它的《INFO: Events for Performance Monitor Extensions (Q226494)》文章中给出这种EventID2002的解释:
Event ID: 2002
Detail Text: The open procere for service (service name) in DLL (DLL name) has taken longer than the established wait time to complete. The wait time in milliseconds is shown in the data.

Interpretation: See the comments earlier regarding the Open Timeout registry value.

你可以在注册表的
HKEY_LOCAL_MACHINE
\SOFTWARE
\Microsoft
\Windows NT
\CurrentVersion
\Perflib
中找一下有没有这个键值OpenProcereWaitTime

If OpenProcereWaitTime value is present, perflib sets up a timeout procere internally. If the Open function of a performance monitor extension DLL does not return within the time specified, in milliseconds, in this registry value an event (2002) is posted to the Event Log. However, it only controls the reporting of the fact, it doesn't control the behavior. For example, if an Open function "hangs" then the performance monitor process will "hang" regardless of the presence of this registry value.
If the OpenProcereWaitTime registry value is not present, the default timeout value is 10,000 (milliseconds).
解决办法:
我觉得这个错误可能和硬盘读取速度慢或者其他应用频繁读取硬盘有关系。可以调整一下超时的时间值。

你可以这样:
请到下面的连接下载微软的Extensible Performance Counter List工具:

http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/exctrlst-o.asp

它可以帮你。
声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。
E-MAIL:11247931@qq.com