I have 3 applications on the same web server. Two of them are configured in separate ASP.NET 4 application pools and and one of them is on an ASP.NET 2 application pool.
我在同一个Web服务器上有3个应用程序。其中两个在单独的ASP.NET 4应用程序池中配置,其中一个在ASP.NET 2应用程序池中。
I'm experiencing intermitent timeouts when accessing those apps during the day. To track down this timeouts, I have setup a ping monitoring service (motive.com). Here is a sample of the timeout ocurrencies log:
我在白天访问这些应用时遇到了间歇性超时。为了追踪这个超时,我设置了ping监控服务(motive.com)。以下是超时时间日志的示例:
app date downtime main reason APP2 19-September-2012, at 14:51 4 mins 50 secs connect() timed out! APP1 19-September-2012, at 14:51 4 mins 50 secs connect() timed out! APP2 19-September-2012, at 14:11 2 mins 50 secs couldn't connect to host APP1 19-September-2012, at 14:11 2 mins 50 secs couldn't connect to host APP2 19-September-2012, at 9:17 2 mins 41 secs couldn't connect to host APP1 19-September-2012, at 9:17 2 mins 41 secs couldn't connect to host ...
As you can see, both ASP.net 4 pools are timing out simultaneously. I'm also monitoring the ASP.NET 2.0 app pool web site and I haven't have one single timeout!
如您所见,两个ASP.net 4池同时超时。我也在监视ASP.NET 2.0应用程序池网站,我没有一次超时!
There's no pattern whatsoever related to the time of the day that it occurs (both day/night). Intervals between timeouts don't follow a pattern either, sometimes they happen after 40 minutes, others take some hours in between.
没有任何关于它发生的时间(白天/夜晚)的模式。超时之间的间隔也不遵循模式,有时它们发生在40分钟之后,其他时间间隔需要几个小时。
The timeout never lasts more than 5 minutes, but they also vary from 2 to 5 minutes randomly.
超时永远不会超过5分钟,但它们也会随机变化2到5分钟。
At first I thought it might have something to do with application pool recycling but I've checked and recycling is set to occur after 24 hours and disabled for other events (memory peaks, etc.).
起初我认为它可能与应用程序池回收有关,但我已经检查并且回收设置在24小时后发生并且禁用其他事件(内存峰值等)。
The site is infrequently accessed (it's in beta test), so there are no huge number of access, workers demand, memory consumption, etc.
该网站不经常访问(它在beta测试中),因此没有大量的访问,工作者需求,内存消耗等。
I've also checked the IIS log and there are 2 to 5 minutes gaps during the hours of downtime reported by the monitoring service, but no error message. I also checked the Windows event log and haven't found anything unusual in system and application events.
我还检查了IIS日志,在监控服务报告的停机时间内有2到5分钟的间隙,但没有错误消息。我还检查了Windows事件日志,但在系统和应用程序事件中没有发现任何异常。
I'm really desperate right now. If someone could help me out, I'd be really thankful.
我现在真的很绝望。如果有人可以帮助我,我会非常感激。
Best Regards, Eduardo de Freitas
最诚挚的问候,Eduardo de Freitas
1 个解决方案
#1
0
It's hard to say, but one thing to check is in the web.config if you have This should be set to false, see this link for more details and additional items to look for: http://www.hanselman.com/blog/MostCommonASPNETSupportIssuesReportingFromDeepInsideMicrosoftDeveloperSupport.aspx
很难说,但要检查的一件事是在web.config中,如果你有这个应该设置为false,请参阅此链接以获取更多详细信息和其他要查找的项目:http://www.hanselman.com/blog /MostCommonASPNETSupportIssuesReportingFromDeepInsideMicrosoftDeveloperSupport.aspx
#1
0
It's hard to say, but one thing to check is in the web.config if you have This should be set to false, see this link for more details and additional items to look for: http://www.hanselman.com/blog/MostCommonASPNETSupportIssuesReportingFromDeepInsideMicrosoftDeveloperSupport.aspx
很难说,但要检查的一件事是在web.config中,如果你有这个应该设置为false,请参阅此链接以获取更多详细信息和其他要查找的项目:http://www.hanselman.com/blog /MostCommonASPNETSupportIssuesReportingFromDeepInsideMicrosoftDeveloperSupport.aspx