사용 가능한 메모리가 부족하여 HTTP 서버를 초기화할 수 없습니다.

Microsoft.Windows.InternetInformationServices.6.2.HTTP.Server.was.unable.to.initialize.due.to.a.shortage.of.available.memory (Rule)

Knowledge Base article:

요약

해당 활동을 수행하려면 IIS(인터넷 정보 서비스) W3SVC(World Wide Web Publishing 서비스)에 파일 액세스, 메모리 가용성 및 네트워크 연결을 포함한 I/O 오류가 없어야 합니다. 또한 사용된 모든 스크립트가 액세스 가능하고 실행 중이어야 하며, 모든 포함 파일이 올바르게 구성되어 있어야 합니다.

해결 방법

사용 가능한 메모리 확인

IIS의 메모리 부족 문제에 대한 자세한 내용은 IIS 디버그 진단 도구를 사용하여 IIS 프로세스의 메모리 누수 문제를 해결하는 방법 문서를 참조하세요.

또한 아래 링크를 사용하여 서버에서 사용 가능한 메모리를 더 쉽게 파악할 수 있습니다.

Memory\Available MBytes 성능

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.WebServer
CategoryAlert
EnabledTrue
Event_ID2204
Event SourceMicrosoft-Windows-IIS-W3SVC-WP
Alert GenerateFalse
RemotableTrue
Event LogApplication

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
WA WriteAction Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription Default

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.6.2.HTTP.Server.was.unable.to.initialize.due.to.a.shortage.of.available.memory" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.WebServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-IIS-W3SVC-WP</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>2204</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<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.HTTP.Server.was.unable.to.initialize.due.to.a.shortage.of.available.memory.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>