• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 386
  • Last Modified:

IIS7 Website sleeping

I have an internal IIS7 website that appears to go to sleep, I have set the Idle Timeout for the application pool to 1500 minutes to try and stop it but no joy

If I open a browser and go to the URL, IE immediately says it can't open the page.

If I leave this message on the screen for about 5minutes and then refresh the browser, the site comes up.

What could be causing this?

Other site runnning on the same server (different port) come up first time everytime
0
BrianFord
Asked:
BrianFord
1 Solution
 
käµfm³d 👽Commented:
All applications hosted within IIS "go to sleep." This is a feature of IIS to conserve memory. The first time you hit a web application, there will be a noticeable delay as the worker process to host your app spins up; after that, the page should load (more or less) instantly. After a period of inactivity, this worker process is terminated.

As to why it say the page cannot be opened, are you running anything lengthy in your Application_Start within global.asax?
0
 
BrianFordAuthor Commented:
I'm not sure what's in the Application_Start, this is a Microsoft CRM 2011 web-site so I wouldn't want to play around with it.

I have set the Timeout to zero for now to see if that helps, butI'll have to wait several hours n9ow to try and reproduce
0
 
CodeCruiserCommented:
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now