WMI Bellek Kullanımı İzleyicisi

Microsoft.SystemCenter.WMIPrivateBytes.Monitor (UnitMonitor)

Bu izleyici bilgisayardaki WMI bellek kullanımını denetler.

Knowledge Base article:

Özet

Bu bilgisayardaki WMI hizmeti çok fazla bellek kullanıyor.

Bu izleyici, WmiPrv ile başlayan tüm işlem örneklerinin Özel Bayt Sayısı sayacını denetleyip bunu 2 eşik değeriyle karşılaştırarak, belirli aralıklarla bilgisayardaki WMI için toplam bellek kullanımını denetler. Varsayılan olarak bu izleyici WMI ile ilgili herhangi bir işlemin 500 MB'tan fazla bellek kullanması durumunda uyarı durumuna geçer. WMI ile ilgili herhangi bir işlemin 600 MB'tan fazla bellek kullanması durumunda da hata durumuna geçer.

Nedenler

Bu durumun olası bir nedeni WMI'nın zaman içinde giderek daha fazla bellek kullanmasına neden olan bir WMI bellek sızıntısıdır.

Çözümlemeler

WMI bellek sorunlarının bir düzeni olduğunu görürseniz, bu izleyicinin uyarı veya hata eşiği aşıldığında WMI'yı otomatik olarak yeniden başlatan kurtarma işlemi devre dışıdır. Bunun sorunu çözdüğünü görürseniz, bu kurtarma işlemlerinden birini etkinleştirebilirsiniz.

Dış

WMI sorunlarını giderme hakkında daha fazla bilgi için şuraya gidin: http://go.microsoft.com/fwlink/?LinkId=158224.

WMI Tanılama Yardımcı Programını ayrıca http://go.microsoft.com/fwlink/?LinkId=158226 adresinden de indirebilirsiniz. WMI Tanılama Yardımcı Programı, bilgisayardaki WMI hizmeti sorununu gidermenize yardımcı olmak için tasarlanmış bir VBScript betiğidir.

Element properties:

TargetMicrosoft.SystemCenter.Agent
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.Performance.FilteredDoubleThreshold.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
WMI bellek kullanımı yüksek

WMI Bellek kullanımı çok yüksek {4} Bilgisayarında {0} Örneği {1} Nesnesi {2} Sayacı için değer {3}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.WMIPrivateBytes.Monitor" Accessibility="Public" Enabled="false" Target="SCLibrary!Microsoft.SystemCenter.Agent" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.Performance.FilteredDoubleThreshold.MonitorType" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.WMIPrivateBytes.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/InstanceName$</AlertParameter1>
<AlertParameter2>$Data/Context/ObjectName$</AlertParameter2>
<AlertParameter3>$Data/Context/CounterName$</AlertParameter3>
<AlertParameter4>$Data/Context/Value$</AlertParameter4>
<AlertParameter5>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter5>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UnderThreshold1" MonitorTypeStateID="UnderThreshold1" HealthState="Success"/>
<OperationalState ID="OverThreshold1UnderThreshold2" MonitorTypeStateID="OverThreshold1UnderThreshold2" HealthState="Warning"/>
<OperationalState ID="OverThreshold2" MonitorTypeStateID="OverThreshold2" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Private Bytes</CounterName>
<ObjectName>Process</ObjectName>
<InstanceName/>
<AllInstances>true</AllInstances>
<Frequency>300</Frequency>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">InstanceName</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>WmiPrv</Pattern>
</RegExExpression>
</Expression>
<Threshold1>524288000</Threshold1>
<Threshold2>629145600</Threshold2>
</Configuration>
</UnitMonitor>