【问题标题】:Request timed out - Request timed out请求超时 - 请求超时
【发布时间】:2011-02-26 10:40:33
【问题描述】:

我的网站在 Asp.net v4、IIS 7、Windows server 2008 上运行。

我的 cpu 运行在 20-30% 并且网站响应迅速。

每 2-5 分钟我会收到以下错误:

Event code: 3001 
Event message: The request has been aborted. 
Exception type: HttpException 
Exception message: Request timed out. , 

Request information: 
    Request URL: http://www.xxxx.com/Services/AxRefresh.asmx/AxUpdate 
    Request path: /Services/AxRefresh.asmx/AxUpdate 
    User host address: 84.110.251.198 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE 

我读到该错误与最大并发请求限制有关 http://support.microsoft.com/kb/821268

但后来我发现在 IIS 7 上,此限制已更改且不相关。 http://msdn.microsoft.com/en-us/library/dd560842(VS.100).aspx

任何其他想法可能是什么问题或从哪里开始寻找?

更新: 发现另一个链接说所有以下参数: maxWorkerThreads minWorkerThreads 最大线程数 minFreeThreads minLocalRequestFreeThreads 最大连接 执行超时

与 IIS7+Asp.NET 4 无关

这是链接 http://learn.iis.net/page.aspx/381/aspnet-20-breaking-changes-on-iis-70

**我的 iis7 上每天仍然收到 100 个错误 **

【问题讨论】:

标签: asp.net windows iis-7 windows-server-2008


【解决方案1】:

您找到的第二个链接与第一个链接没有关系,因此您仍然需要应用第一篇文章中的更改,看看是否有帮助。

【讨论】:

  • 查看此链接:learn.iis.net/page.aspx/381/…。 ASP.NET 线程设置不用于控制集成模式下的请求并发 system.web/httpRuntime 配置部分中的 minFreeThreads、minLocalRequestFreeThreads 设置和 processModel 配置部分中的 maxWorkerThreads 设置不再控制 ASP.NET 使用的线程机制.相反,ASP.NET 依赖于 IIS 线程池,并允许您通过设置 MaxConcurrentRequestsPerCPU 来控制最大并发执行请求数。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2016-05-27
  • 2020-05-31
  • 2012-03-31
  • 2018-08-17
  • 2011-11-06
  • 2019-02-21
  • 2019-08-09
相关资源
最近更新 更多