Serwer HTTP nie może zostać zainicjowany z powodu braku dostępnej pamięci

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

Knowledge Base article:

Podsumowanie

W celu prawidłowego wykonywania zadań usługa publikowania w sieci World Wide Web (W3SVC) wchodząca w skład internetowych usług informacyjnych (IIS) nie może zawierać żadnych błędów wejścia/wyjścia dotyczących dostępu do plików, dostępności pamięci ani połączeń sieciowych. Dodatkowo wszystkie używane skrypty muszą być dostępne i uruchomione, a wszystkie pliki załączane muszą być prawidłowo skonfigurowane.

Rozwiązania

Sprawdź dostępną pamięć

Aby uzyskać więcej informacji o problemach spowodowanych niedostateczną ilością pamięci w usługach IIS, zobacz Jak korzystać z narzędzia Debug Diagnostics Tool usług IIS podczas rozwiązywania problemów z przeciekiem pamięci w procesie usług IIS.

Możesz również użyć poniższego linku, aby lepiej poznać kwestie związane z pamięcią dostępną na serwerze:

Pamięć\Dostępna pamięć (MB)

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.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.10.0.GenerateAlertAction.SuppressedByDescription Default

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.10.0.HTTP.Server.was.unable.to.initialize.due.to.a.shortage.of.available.memory" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.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.10.0.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.HTTP.Server.was.unable.to.initialize.due.to.a.shortage.of.available.memory.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>