缺少可用記憶體使防火牆服務失敗

Microsoft.Forefront.TMG.A_shortage_of_available_memory_caused_the_Firewall_service_to_fail.Rule (Rule)

當缺少可用記憶體使防火牆服務失敗時,此規則會產生警示

Knowledge Base article:

摘要

可用記憶體不足導致防火牆服務失敗。

原因

TMG Server 電腦無法支援伺服器的其他連線。[事件檢視器資料] 視窗會顯示使用中連線數目。

解決方式

檢查目前連線的數量,並將數量降低到可接受的程度。

若要解決實體記憶體不足的狀況,請執行下列操作之一:

如果已為系統分配適當的實體記憶體與應用程式負載,但系統在一段時間內仍持續超過可用實體記憶體閾值,則可能是應用程式遺漏記憶體。 若要識別遺漏記憶體的應用程式,請執行下列操作:

如果觀察到任何計數器持續出現大幅增加的情形,可能需要連絡應用程式廠商以尋求支援。

Element properties:

TargetMicrosoft.Forefront.TMG.Server
CategoryEventCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Forefront.TMG.Rule.AlertGenerate.DS Default
WA WriteAction Microsoft.Forefront.TMG.Rule.AlertGenerate.WA Default

Source Code:

<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>