アプリケーション プールのアイドル タイムアウトが周期的な再起動時間以上です

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

Knowledge Base article:

概要

Web サイトおよび Web アプリケーションを確実に分離するには、インターネット インフォメーション サービス (IIS) アプリケーション プールが一意の名前と正しく構成された ID を持つように構成する必要があります。アプリケーション プールの構成中にエラーが発生すると、アプリケーション プールは、そのアプリケーション プールが割り当てられた Web サイトおよび Web アプリケーションをサービスすることができなくなる場合があります。

解決方法

アプリケーション プールの構成を修正します。

アプリケーション プールの構成をイベント ログ メッセージの指示に従って修正します。問題が解決されない場合は、ApplicationHost.config ファイルのアクセス許可を確認し、必要なサービスすべてが開始されていることを確認します。場合によっては、WAS を停止し再起動する必要があります。

インターネット インフォメーション サービス (IIS) マネージャーを使用してアプリケーション プールの構成を編集する

アプリケーション プールの構成を編集するには:

WAS を停止し、再起動する

WAS を停止し、再起動するには:

:WAS を停止すると、World Wide Web 発行サービス (W3SVC) などの WAS に依存しているその他のすべてのサービスも停止します。したがって、W3SVC またはその他のサービスも再起動する必要がある場合があります。

Element properties:

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

Member Modules:

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 Microsoft.Windows.Server.IIS.10.0.GenerateAlertAction.SuppressedByDescription Default

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.10.0.Application.pool.has.an.IdleTimeout.equal.to.or.greater.than.the.PeriodicRestart.time" 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>
<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.10.0.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.Application.pool.has.an.IdleTimeout.equal.to.or.greater.than.the.PeriodicRestart.time.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>