By default IIS 7.5 will recycle your web application’s worker process after 20 minutes of inactivity. In a nutshell, this means that when you have a site that is used lightly, it will take a while to start up. This is because it has to load all the dependent assemblies and store them in memory.
The IIS default really only pertains to hosting companies so it’s usually safe to remove the idle timeout and speed up your site. Your users will thank you. But, remember to keep an eye on your server’s memory.
Here’s how you can remove the IIS Idle Timeout setting:
IIS 7 and 7.5
- Find the Application Pools list under your IIS Server Name and go to Advanced Settings under the app pool you wish to change.
- Set the Idle Time-out (minutes) property to 0 to disable it.
- Go to the App Pools section and right click for the properties for the pool you wish to change
- In the performance tab, uncheck “Shutdown worker processes after being idle for:”