當缺少可用記憶體使防火牆服務失敗時,此規則會產生警示
可用記憶體不足導致防火牆服務失敗。
TMG Server 電腦無法支援伺服器的其他連線。[事件檢視器資料] 視窗會顯示使用中連線數目。
檢查目前連線的數量,並將數量降低到可接受的程度。
若要解決實體記憶體不足的狀況,請執行下列操作之一:
關閉或停止一個或多個應用程式、服務、處理程序
在電腦上新增實體記憶體
將應用程式移至一台或多台額外的伺服器上
如果已為系統分配適當的實體記憶體與應用程式負載,但系統在一段時間內仍持續超過可用實體記憶體閾值,則可能是應用程式遺漏記憶體。 若要識別遺漏記憶體的應用程式,請執行下列操作:
開啟 [系統監視器],並在一段時間內持續監視下列系統效能計數器: [Paging File\% Usage]、[Paging File\% Usage Peak]、[Memory\Pool Nonpaged Bytes]、[Memory\Pool Paged Bytes]。 如果以上任何一個計數器在一段時間內持續增加,則可能是應用程式遺漏記憶體。
如果系統看起來像遺漏記憶體,針對每個執行中的處理程序監視下列計數器即可識別特定的應用程式:[Process\Page File Bytes]、[Process\Pool Nonpaged Bytes]、[Process\Pool Paged Bytes]、[Process\Private Bytes]、[Process\Thread Count]。
如果觀察到任何計數器持續出現大幅增加的情形,可能需要連絡應用程式廠商以尋求支援。
Target | Microsoft.Forefront.TMG.Server |
Category | EventCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Forefront.TMG.Rule.AlertGenerate.DS | Default |
WA | WriteAction | Microsoft.Forefront.TMG.Rule.AlertGenerate.WA | Default |
<Rule ID="Microsoft.Forefront.TMG.A_shortage_of_available_memory_caused_the_Firewall_service_to_fail.Rule" Enabled="true" Target="Microsoft.Forefront.TMG.Server" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.DS">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<EventsPattern>^(14007)$</EventsPattern>
<EventType>1</EventType>
<SourcePattern>Microsoft Forefront TMG Firewall</SourcePattern>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.WA">
<AlertMessageId>$MPElement[Name="Microsoft.Forefront.TMG.A_shortage_of_available_memory_caused_the_Firewall_service_to_fail.AlertMessage"]$</AlertMessageId>
<DomainName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/DomainDnsName$</DomainName>
<Priority>2</Priority>
<Severity>2</Severity>
</WriteAction>
</WriteActions>
</Rule>