IIS 6.0's worker process terminates after 20 minutes of inactivity by default. Because of this, if Secret Server is in its own Application Pool, the Application Pool will stop after 20 minutes of no requests.
To change IIS to not stop the worker process, follow these steps:
- Click Start -> Administrative Tools -> Computer Management.
- Expand "Services and Applications", then "Internet Information Services", and then "Application Pools"
- Locate the Application Pool Secret Server is running as. To determine this, Expand "Websites", then the Website Server Server is running on. Find the Virtual Directory (if it is running on one) and click Properties. The "Home Directory" tab will indicate Secret Server's Application Pool.
- Right click the Application Pool, and click "Properties". You should now be on the "Recycling" tab.
- Uncheck the "Recycle worker processes (in minutes)" box.
- Change to the "Performance" tab.
Uncheck the "Shutdown Worker Processes after being idle for (time in minutes)" box.
- Click "OK".
- Exit the Computer Management Console.
Instead of completely disabling shutdown, you can change the value to shut down the application less frequently.
Using IIS 7? Changing IIS to not stop worker process in IIS 7
Article ID: 13, Created On: 6/21/2007, Modified: 3/27/2013