Programpoolen har en IdleTimeout som motsvarar eller är större än PeriodicRestart-tiden

Microsoft.Windows.InternetInformationServices.6.2.Application.pool.has.an.IdleTimeout.equal.to.or.greater.than.the.PeriodicRestart.time (Rule)

Knowledge Base article:

Sammanfattning

För att säkerställa webbplats och webbprogram isolering, måste Internet Information Services (IIS) programpooler vara konfigurerade med unika namn och korrekt konfigurerade identiteter. Om ett fel inträffar under konfigureringen av en programpool, kan programpoolen eventuellt inte vara tillgängliga för att betjäna webbplatserna och webbprogrammen som har tilldelats.

Lösningar

Korrigera programpoolskonfigurationen.

Korrigera programpoolskonfigurationen enligt händelseloggmeddelandet. Om problemet kvarstår, kontrollera ApplicationHost.config filen och kontrollera att alla nödvändiga tjänster är startade. I vissa fall kan det vara nödvändigt att stoppa och starta om WAS.

Ändra konfigureringen av programpoolen med hjälp av Internet Information Services (IIS) Manager

Så här ändrar du konfigureringen av programpoolen:

Stoppa och starta om WAS

För att stoppa och starta om WAS:

Obs! Om du stoppar WAS kommer också andra tjänster som är beroende av den, inklusive W3SVC (World Wide Web Publishing Service) att stoppas. Du kan eventuellt också behöva starta om W3SVC eller andra tjänster.

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.ApplicationPool
CategoryAlert
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Server.IIS.6.2.WarningAndErrorEventProvider Default
Filter ConditionDetection Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool.EventFilter Default
WA WriteAction Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription Default

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.6.2.Application.pool.has.an.IdleTimeout.equal.to.or.greater.than.the.PeriodicRestart.time" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.IIS.6.2.WarningAndErrorEventProvider">
<LogName>System</LogName>
</DataSource>
</DataSources>
<ConditionDetection ID="Filter" TypeID="Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool.EventFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>5152</Value>
</ValueExpression>
</SimpleExpression>
</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="Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.6.2.Application.pool.has.an.IdleTimeout.equal.to.or.greater.than.the.PeriodicRestart.time.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>