WMI Restart due to Memory Usage Critical

Microsoft.SystemCenter.WMI.PrivateBytes.Critical.Recovery (Recovery)

Recovery that will cause WMI to restart using the Taskkill utility if it is using too much memory. The recovery output shows the output of the Taskkill command (an exit code of 0 means success).

Element properties:

TargetMicrosoft.SystemCenter.Agent
MonitorMicrosoft.SystemCenter.WMIPrivateBytes.Monitor
Reset MonitorTrue
RemotableTrue
Timeout300
CategoryCustom
Enabledfalse
AccessibilityInternal

Member Modules:

ID Module Type TypeId RunAs 
TaskKillAllWMI WriteAction Microsoft.SystemCenter.StopWMI.WriteAction Default

Source Code:

<Recovery ID="Microsoft.SystemCenter.WMI.PrivateBytes.Critical.Recovery" Accessibility="Internal" Enabled="false" Target="SCLibrary!Microsoft.SystemCenter.Agent" Monitor="Microsoft.SystemCenter.WMIPrivateBytes.Monitor" ResetMonitor="true" ExecuteOnState="Error" Remotable="true" Timeout="300">
<Category>Custom</Category>
<WriteAction ID="TaskKillAllWMI" TypeID="Microsoft.SystemCenter.StopWMI.WriteAction">
<TaskKillFilter>MEMUSAGE ge 1</TaskKillFilter>
<TimeoutSeconds>300</TimeoutSeconds>
</WriteAction>
</Recovery>