Wal*_*art 36 asp.net iis-7 http http-status-code-503
我在Windows Server 2008上的IIS 7上运行ASP.NET 3.5 Web应用程序.
我今天下午早些时候收到了以下错误:
HTTP Error 503. The service is unavailable.
我查看了事件日志并发现:
A process serving application pool 'Classic .NET AppPool' suffered a fatal communication error with the Windows Process Activation Service. The process id was '3328'. The data field contains the error number.
以下是该活动的全部细节:
Log Name: System
Source: Microsoft-Windows-WAS
Date: 18/09/2009 14:58:31
Event ID: 5011
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: computername
Description:
A process serving application pool 'Classic .NET AppPool' suffered a fatal communication error with the Windows Process Activation Service. The process id was '3328'. The data field contains the error number.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-WAS" Guid="{5 .. 0}" EventSourceName="WAS" />
<EventID Qualifiers="32768">5011</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2009-09-18T13:58:31.000Z" />
<EventRecordID>23552</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>System</Channel>
<Computer>computername</Computer>
<Security />
</System>
<EventData>
<Data Name="AppPoolID">Classic .NET AppPool</Data>
<Data Name="ProcessID">3328</Data>
<Binary>6D000780</Binary>
</EventData>
</Event>
Run Code Online (Sandbox Code Playgroud)
这导致:
Application pool 'Classic .NET AppPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool.
以下是该活动的全部细节:
Log Name: System
Source: Microsoft-Windows-WAS
Date: 18/09/2009 15:03:05
Event ID: 5002
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: computername
Description:
Application pool 'Classic .NET AppPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-WAS" Guid="{5 .. 0}" EventSourceName="WAS" />
<EventID Qualifiers="49152">5002</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2009-09-18T14:03:05.000Z" />
<EventRecordID>23557</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>System</Channel>
<Computer>computername</Computer>
<Security />
</System>
<EventData>
<Data Name="AppPoolID">Classic .NET AppPool</Data>
<Binary>
</Binary>
</EventData>
</Event>
Run Code Online (Sandbox Code Playgroud)
结束于:HTTP错误503.该服务不可用.
有人请帮助我确定这是如何发生的以及我需要做些什么来防止它在将来发生.
如果您正在使用NServiceBus,请确保运行应用程序池的任何帐户都有权读取消息队列.
NServiceBus在应用程序启动时运行后台任务,在10秒后超时,导致w3wp进程在无法从队列中读取时被终止.在n(默认值为5)之后,w3wp崩溃快速失败保护启动并停止应用程序池.
http://blog.jonathanoliver.com/2010/11/nservicebus-w3wp-exe-processes-crashing/
小智 7
它最有可能是由无限循环引起的.
(我只是遇到了同样的问题.)所以你只需要在代码中查找使用循环的位置,看看是否删除其中一个会阻止错误.一旦你找到了罪魁祸首,那么你可以试着找出什么导致它无限循环.
归档时间: |
|
查看次数: |
69702 次 |
最近记录: |