请求超时HttpException导致w3wp.exe进程死亡或回收

时间:2011-10-18 10:26:30

标签: .net asp.net c#-4.0 iis-7.5

是否有HttpException

  

请求超时

  

请求已中止

导致w3wp.exe进程死机或回收?

我们正在收集其中的一些警告

我们在Windows 2008 Server R2上使用IIS 7.5; ASP.NET 4.0.30319.0;

以下是事件日志中的消息:

Log Name:      Application
Source:        ASP.NET 4.0.30319.0
Date:          18/10/2011 09:40:50
Event ID:      1309
Task Category: Web Event
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      XXXXXX-XXXX
Description:
Event code: 3001 
Event message: The request has been aborted. 
Event time: 18/10/2011 09:40:50 
Event time (UTC): 18/10/2011 08:40:50 
Event ID: ef899a8bafa149488029502499a212ec 
Event sequence: 1887760 
Event occurrence: 55 
Event detail code: 0 

Application information: 
    Application domain: /LM/W3SVC/1/ROOT-2-129630856526919915 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: C:\inetpub\wwwroot\MyWebService\ 
    Machine name: XXXXXX-XXXX 

Process information: 
    Process ID: 30192 
    Process name: w3wp.exe 
    Account name: NT AUTHORITY\NETWORK SERVICE 

Exception information: 
    Exception type: HttpException 
    Exception message: Request timed out.



Request information: 
    Request URL: http://subdomain.example.com/File.axd?key1=value1&key2=value2
    Request path: /File.axd 
    User host address: XXX.XXX.XXX.XXX 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE 

Thread information: 
    Thread ID: 47 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
    Is impersonating: False 
    Stack trace: 


Custom event details: 

1 个答案:

答案 0 :(得分:1)

UnhandledException会导致您的应用池回收/崩溃。我建议添加一个Unhandled Exception处理程序来查找导致HttpException的内容。

Gracefully Responding to Unhandled Exceptions - Processing Unhandled Exceptions