每秒的内存页数

Microsoft.Windows.Server.6.2.OperatingSystem.MemoryPagesPerSecond (UnitMonitor)

监视性能计数器 Memory\MemoryPagesPerSecond

Knowledge Base article:

摘要

系统在磁盘中进行内存分页的速率太高。 此监视基于“Memory\Pages/sec”计数器,这是导致系统范围延迟的错误种类的主要指示器。 总体系统性能可能会显著降低。

Pages/sec 为解决强制分页错误而从磁盘读取页面或将页面写入磁盘的速率。

原因

一个或多个应用程序正在使用大量内存,系统必须在磁盘中对数据进行分页才能满足需要。

解决方法

若要确定哪些进程正在迫使系统上的整体内存使用率上升,以及确定分页速率,请使用性能监视器内“进程”对象中的以下计数器:

根据进一步的调查结果,解决方案可能会有所不同,并且可能包含以下其中一项:

Element properties:

TargetMicrosoft.Windows.Server.6.2.OperatingSystem
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Instance NameMemory
Counter NamePages/Sec
Frequency300
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSystem.Performance.ConsecutiveSamplesThreshold
RemotableTrue
AccessibilityPublic
Alert Message
每秒内存页数太高。
已超过 Memory\Pages\sec 性能计数器的阈值。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.6.2.OperatingSystem.MemoryPagesPerSecond" Accessibility="Public" Enabled="true" Target="WindowsServer!Microsoft.Windows.Server.6.2.OperatingSystem" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="SystemPerf!System.Performance.ConsecutiveSamplesThreshold" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.6.2.OperatingSystem.MemoryPagesPerSecond.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters/>
</AlertSettings>
<OperationalStates>
<OperationalState ID="OverThreshold" MonitorTypeStateID="ConditionTrue" HealthState="Warning"/>
<OperationalState ID="UnderThreshold" MonitorTypeStateID="ConditionFalse" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Pages/Sec</CounterName>
<ObjectName>Memory</ObjectName>
<InstanceName/>
<Frequency>300</Frequency>
<Threshold>5000</Threshold>
<Direction>greaterequal</Direction>
<NumSamples>12</NumSamples>
</Configuration>
</UnitMonitor>