太多的效能計數器資料要求失敗

Microsoft.Windows.Server.6.2.OperatingSystem.PerfCounterDataRequestTimeOut.Alert (Rule)

太多的效能計數器資料要求逾時且失敗

Knowledge Base article:

摘要

此服務的效能計數器提供者無法在指定的收集逾時期間內傳回效能計數器資料。 此期間因每個效能計數器而異,且可以變更。

系統健全狀況並不受影響,只有收集效能計數器資料的功能才會受影響。 在此問題解決之前,將不會啟用任何監視此計數器以產生警示的規則。

範例事件:

等待 Perfproc.dll 程式庫中效能資料集合函數 CollectSysProcessObjectData 的逾時已到期。 可能是此延伸計數器或從中收集資料的服務發生問題,或者在嘗試此呼叫時系統過於忙碌。

相關事件:

來源: Perflib;

事件識別碼: 1015

原因

可能是效能計數器提供者或從中收集資料的服務發生問題,或者在產生要求時系統過於忙碌。

解決方式

如果是因為開啟或收集逾時而發生問題,您可以變更提供者或報告該錯誤的服務之預設開啟或收集逾時期間。

根據預設值,作業系統對所有服務都使用 10 秒的相同收集或開啟逾時期間 (以毫秒為單位進行測量)。 若要覆寫個別服務的此逾時期間,請變更 Open Timeout 或 Collect Timeout 登錄項目。

下列程序適用於 Collect Timeout 項目,但相同程序也適用於 Open Timeout 項目。

注意

不當編輯登錄可能會對系統造成嚴重損害。 在變更登錄前,您應先備份電腦上任何重要的資料。

若要變更 Collect Timeout 登錄項目:

外部

如需關於監視效能與可靠性的詳細資訊,請參閱 Microsoft TechNet 網站,網址為: http://go.microsoft.com/fwlink/?LinkId=27756

如需關於無法使用效能計數器的詳細資訊,請參閱知識庫文件編號 275659<Corrupted Performance Counters May Disappear or Be Unavailable to Perfmon>(損毀的效能計數器可能會消失或無法供 Perfmon 使用),網址為 http://go.microsoft.com/fwlink/?LinkId=27763

如需關於效能計數器疑難排解的詳細資訊,請參閱 Microsoft 知識庫文章 152513<Troubleshooting Performance Monitor Counter Problems>(效能監視器計數器問題疑難排解),網址為 http://go.microsoft.com/fwlink/?LinkId=30322

Element properties:

TargetMicrosoft.Windows.Server.6.2.OperatingSystem
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
太多的效能計數器資料要求逾時
{0}
Event LogApplication

Member Modules:

ID Module Type TypeId RunAs 
EventDS DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.Windows.Server.6.2.OperatingSystem.PerfCounterDataRequestTimeOut.Alert" Enabled="true" Target="WindowsServer!Microsoft.Windows.Server.6.2.OperatingSystem" ConfirmDelivery="true">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="EventDS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Perflib</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1015</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.6.2.OperatingSystem.PerfCounterDataRequestTimeOut.Alert.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>