Problem
In our production environment, system occasionally delays the page response of an ASP.NET MVC application up to 30 seconds or so, even though same page renders in 2-3 seconds most of the times. This happens randomly with any arbitrary page, and GET or POST type requests. For example, log files indicates, system took 15 seconds to complete a request for jquery script file or for other small css file it took 10 secs开发者_如何学编程.
Similar Problems:
- Random Slow Downs
Production Environment:
- Windows Server 2008 - Standard (32-bit) - App Pool running in integrated mode.
- ASP.NET MVC 1.0
We have tried followings/observations:
- Moved the application to a stand alone web server, but, it didn't help.
- We didn't ever notice same issue on the server for any 'ASP.NET' application.
- App Pool settings are fine. No abrupt recycles/shutdowns.
- No cpu spikes or memory problems.
- No delays due to SQL queries or so.
- Converting App Pool to classic mode didn't help either
It seems as something causing delay along HTTP Pipeline or worker processor seeing the request late.
Looking for other suggestions.
-- Thanks
Sorry if this is too obvious but have you checked IIS? for Process recycling, you can set it so it recycles once a day at a set time .
You could also try application warm up http://weblogs.asp.net/gunnarpeipman/archive/2010/01/31/asp-net-4-0-how-to-use-application-warm-up-class.aspx
加载中,请稍侯......
精彩评论