Solved

IIS7 Website sleeping

Posted on 2013-10-23
3
339 Views
Last Modified: 2013-12-10
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
Comment
Question by:BrianFord
3 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39593683
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
 

Author Comment

by:BrianFord
ID: 39593700
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
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 39594459
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question