WAS は、アプリケーション プールに対してリサイクル要求を発行できませんでした

Microsoft.Windows.InternetInformationServices.6.2.WAS.failed.to.issue.recycle.request.to.application.pool (Rule)

Knowledge Base article:

概要

インターネット インフォメーション サービス (IIS) アプリケーション プールは、定期的にリサイクルして、アプリケーションのクラッシュ、ハング、またはメモリ リークを発生させる可能性がある不安定な状態を回避することができます。既定では、アプリケーション プールのリサイクルはオーバーラップされます。つまり、停止されるワーカー プロセスは新しいワーカー プロセスが開始されるまで実行が継続されます。新しいワーカー プロセスが開始されると、新しい要求はそのワーカー プロセスに渡されます。古いワーカー プロセスが既存の要求の処理を完了するか、または設定したタイムアウトに達すると (いずれかの状態になると)、古いワーカー プロセスは停止します。このようなリサイクル方法を実施すれば、クライアントに対して中断せずにサービスを提供できます。ただし、アプリケーション プール内のアプリケーションが複数のインスタンスを同時に実行できない場合、オーバーラップのローテーションが無効になる可能性があります。

解決方法

WAS を停止し、開始する

WAS がアプリケーション プールをリサイクルできないと、この問題は自己修正される場合があります。問題が解決されない場合、考えられる解決方法は WAS を停止し再起動することです。WAS サービスを停止すると、World Wide Web 発行サービス (W3SVC) および WAS に依存しているその他のサービスも停止します。したがって、これらのその他のサービスも再起動する必要がある場合があります。

WAS を停止し、開始するには:

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.WAS.failed.to.issue.recycle.request.to.application.pool" 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>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(5070|5093)$</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="Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.6.2.WAS.failed.to.issue.recycle.request.to.application.pool.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>