ASP.NET MVC 5 webpage on IIS 8.5 always goes to sleep

I have an ASP.NET MVC 5 web application hosted by @IIS 8.5 / Windows Server 2012 R2.

For the application pool, I have the following configurable options set

preloadEnabled = "true"
startMode = "AlwaysRunning"
idleTimeout = 0

The web application stops working after ~ 20 minutes without requests, and it takes ~ 30 seconds to use it.

Is there another option that I forgot to configure / enable / disable?

+4
source share
1 answer

IIS 7.5 2008R2, . " " , w3wp.exe . , , .

. , , - . , !

  • IIS ( -). .
  • "section" system.applicationHost/applicationPools. - , , , count = something. , ... elipsis, , .
  • , 20 . processModel node, . , startMode .
  • 1 2, sysetem.applicationHost/sites. , , .
  • . . , . , True.
+1

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


All Articles