ASP.NET MVC intermittent slow response

Problem

In our production environment, the system sometimes delays the response of an ASP.NET MVC application page to 30 seconds or so, although the same page is displayed in 2-3 seconds in most cases. This happens randomly with any arbitrary page requests and GET or POST. For example, log files indicate that it took 15 seconds to complete a query for a jquery script file or other small css file, 10 seconds.

Related issues:

Work environment:

  • Windows Server 2008 - Standard (32-bit) - An application pool that runs in integrated mode.
  • ASP.NET MVC 1.0

We tried the following observations:

  • Transferring the application to a standalone web server, but this did not help.
  • We never noticed the same problem on the server for any ASP.NET application.
  • Application pool settings are great. No abrupt rework / shutdown.
  • No crashes or memory issues.
  • No delays due to SQL queries or so.
  • Converting App Pool to Classic Mode Didn't Help

Something seems to be causing a delay on the HTTP pipeline or production processor, watching the lateness.

We are looking for other offers.

- Thank

+3
source share
1 answer

Sorry if this is too obvious, but have you checked IIS? To process processes, you can set it so that it is processed once a day at a set time.

http://weblogs.asp.net/gunnarpeipman/archive/2010/01/31/asp-net-4-0-how-to-use-application-warm-up-class.aspx

+1

Source: https://habr.com/ru/post/1737148/


All Articles