【问题标题】:Does a Request timed out HttpException cause the w3wp.exe process to die or recycleRequest timed out HttpException 是否会导致 w3wp.exe 进程死亡或回收
【发布时间】:2011-10-18 10:26:29
【问题描述】:

发生 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: 

【问题讨论】:

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


    【解决方案1】:

    UnhandledException 可能会导致您的 AppPool 回收/崩溃。我建议添加一个 UnhandledException 处理程序来查找导致 HttpException 的原因。

    Gracefully Responding to Unhandled Exceptions - Processing Unhandled Exceptions

    【讨论】:

    • 谢谢瑞克。但是这个警告会回收/崩溃应用程序池吗?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-06-17
    • 1970-01-01
    • 2018-02-22
    • 1970-01-01
    • 1970-01-01
    • 2016-03-15
    相关资源
    最近更新 更多