서버가 파일을 읽기 위해 버퍼를 할당하지 못했습니다.

Microsoft.Windows.InternetInformationServices.2008.The.server.was.unable.to.allocate.a.buffer.to.read.a.file (Rule)

Knowledge Base article:

요약

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

해결 방법

사용 가능한 메모리 확인

IIS의 메모리 부족 문제에 대한 자세한 내용은 IIS 디버그 진단 도구를 사용하여 IIS 프로세스의 메모리 누수 문제를 해결하는 방법(페이지는 영문일 수 있음) 문서를 참조하십시오.

아래 링크를 사용하여 서버에서 사용 가능한 메모리를 확인할 수도 있습니다.

Memory\Available MBytes 성능

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.2008.WebServer
CategoryAlert
EnabledTrue
Event_ID2233
Event SourceMicrosoft-Windows-IIS-WMSVC
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
서버가 파일을 읽기 위해 버퍼를 할당하지 못했습니다.
{0}
Event LogApplication

Member Modules:

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

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.2008.The.server.was.unable.to.allocate.a.buffer.to.read.a.file" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.InternetInformationServices.2008.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-WMSVC</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>2233</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.IIS.2008.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.2008.The.server.was.unable.to.allocate.a.buffer.to.read.a.file.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>