LSASS Process 監視器

Microsoft.Windows.Server.2012.AD.PerformanceEssentialServices.LSASS.Monitor (UnitMonitor)

監視 LSASS 處理程序的 CPU 使用率。

Knowledge Base article:

摘要

LSASS Process 監視器。Active Directory 網域服務的核心處理程序 (lsass.exe) 佔用大量的 CPU 資源。

如果伺服器上的整體 CPU 使用率過高,依賴 Active Directory 網域服務的使用者與服務可能會遇到延遲。

原因

可能的原因如下:

解決方式

檢視電腦的整體系統效能,以判斷是否需要額外的資源。

新增額外的網域控制站有助於達到負載平衡。

請確定使用中的 AD 站台擁有足夠數目的 DC。

外部

Element properties:

TargetMicrosoft.Windows.Server.2012.AD.DomainControllerRole
Parent MonitorMicrosoft.Windows.Server.2012.AD.PerformanceEssentialServices.AggregateMonitor
CategoryCustom
EnabledTrue
Instance NameProcess
Counter Name\% Processor Time
Frequency120
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSystem.Performance.ConsecutiveSamplesThreshold
RemotableFalse
AccessibilityPublic
Alert Message
LSASS 處理程序已在多個樣本上超過處理程序使用率閾值。
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2012.AD.PerformanceEssentialServices.LSASS.Monitor" Accessibility="Public" Enabled="true" Target="AD2012Core!Microsoft.Windows.Server.2012.AD.DomainControllerRole" ParentMonitorID="Microsoft.Windows.Server.2012.AD.PerformanceEssentialServices.AggregateMonitor" Remotable="false" Priority="Normal" TypeID="SystemPerf!System.Performance.ConsecutiveSamplesThreshold" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2012.AD.PerformanceEssentialServices.LSASS.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='ErrorString']$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ConditionFalse" MonitorTypeStateID="ConditionFalse" HealthState="Success"/>
<OperationalState ID="ConditionTrue" MonitorTypeStateID="ConditionTrue" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>% Processor Time</CounterName>
<ObjectName>Process</ObjectName>
<InstanceName>LSASS</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>120</Frequency>
<ScaleBy>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/LogicalProcessors$</ScaleBy>
<Threshold>80</Threshold>
<Direction>greater</Direction>
<NumSamples>10</NumSamples>
</Configuration>
</UnitMonitor>