Solaris 11 オペレーティング システムの使用可能なメガバイト数スワップ モニター
使用可能なスワップ領域のメガバイト数が少なくなっています。システムのパフォーマンスに悪影響を与える可能性があります。
使用できるスワップ領域のメガバイト数は、(sysconf API によって取得された) 合計スワップ領域から予約済みスワップ領域を引いて計算した空きスワップ領域を表します。
モニターのしきい値は、エージェントへのポーリングで返された値の平均値を基準として分析されます。ここで [サンプル数] パラメーターは、平均値の計算に使用されるサンプルの数を制御します。
既定の構成
パラメーター | 既定値 |
しきい値 | 2.5 |
間隔 (秒) | 300 |
サンプル数 | 3 |
上記で定義されたパラメーターの値は、上書きを使用して、すべてのインスタンスまたは特定のインスタンスやグループに対して変更できます。
異常な状態とは、スワップ領域の使用率が現在高くなっていることを示します。この状態の原因には、次のような状況が考えられます。
プロセスが物理メモリ リソースを過剰に使用している。
一時ファイル システムに書き込んでいる。
コンピューター上で同時に実行されているアプリケーションの数が多すぎる。
長時間にわたって、アプリケーションでメモリ リークが発生している。
1 つまたは複数のアプリケーションまたはプロセスを停止するか強制終了します。プロセスによって使用されるリソースを検査するには、top コマンドを使用します。
スワップ領域を追加します。
コンピューターに物理メモリを追加します。
[状態ビュー] から [メモリ情報] タスクを実行して、使用可能なメモリを表示できます。
[状態ビュー] から [VMStat 実行] タスクを実行して、詳細なメモリ統計を表示できます。
Target | Microsoft.Solaris.11.OperatingSystem | ||
Parent Monitor | System.Health.PerformanceState | ||
Category | PerformanceHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Unix.WSMan.Performance.Average.Threshold.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Solaris.11.OperatingSystem.AvailableMBytesSwap.Monitor" Accessibility="Public" Target="Microsoft.Solaris.11.OperatingSystem" TypeID="Unix!Microsoft.Unix.WSMan.Performance.Average.Threshold.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.PerformanceState">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Solaris.11.OperatingSystem.AvailableMBytesSwap.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Value$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Error" MonitorTypeStateID="UnderThreshold" ID="UnderThreshold"/>
<OperationalState HealthState="Success" MonitorTypeStateID="OverThreshold" ID="OverThreshold"/>
</OperationalStates>
<Configuration>
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_MemoryStatisticalInformation?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>true</SplitItems>
<Interval>300</Interval>
<ObjectName>Swap Space</ObjectName>
<CounterName>Available MBytes Swap</CounterName>
<InstanceName/>
<Value>$Data/WsManData/*[local-name(.)='SCX_MemoryStatisticalInformation']/*[local-name(.)='AvailableSwap']$</Value>
<Threshold>2.5</Threshold>
<NumSamples>3</NumSamples>
</Configuration>
</UnitMonitor>