Webbplatser och webbprogram är beroende på tillgången av Internet Information Services (IIS) programpooler. IIS programpooler däremot är beroende av Windows Process Activation Service (WAS). Om WAS inte körs eller fel inträffar under start eller avstängning av en programpool, kanske webbplatser och webbapplikationer inte är tillgängliga.
En arbetsprocess som misslyckas att svara kan visa ett av följande symtom:
Ping fel.
Kommunikationsfel med WAS
Arbetsprocess start timed-out
Arbetsprocess avstängning timed-out
Arbetsprocessen misslyckande.
För att diagnostisera en arbetsprocess som inte svarar, hänvisa till en eller flera av följande källor:
Hur man använder Debug Diagnostics verktyget för att felsöka en process som har slutat svara i IIS
Hur du använder IIS Debug Diagnostics verktyg för att felsöka en minnesläcka i en IIS-process
Target | Microsoft.Windows.InternetInformationServices.10.0.ApplicationPool | ||
Category | Alert | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
|
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.Server.IIS.10.0.WarningAndErrorEventProvider | Default |
Filter | ConditionDetection | Microsoft.Windows.InternetInformationServices.10.0.ApplicationPool.EventFilter | Default |
WA | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.Windows.InternetInformationServices.10.0.Application.pool.worker.process.is.unresponsive" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.ApplicationPool" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.IIS.10.0.WarningAndErrorEventProvider">
<LogName>System</LogName>
</DataSource>
</DataSources>
<ConditionDetection ID="Filter" TypeID="Microsoft.Windows.InternetInformationServices.10.0.ApplicationPool.EventFilter">
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(5010|5011|5012|5013)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-WAS</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WA" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.Application.pool.worker.process.is.unresponsive.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[1]$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>