Search

September 10, 2025

Prevent IIS Application Pool from Going Idle

If the IIS App Pool goes into idle mode, XpressDox can be slow to start on first load. Please follow these instructions to prevent the IIS App Pool from going idle.

  1. Open IIS Manager
    • Press Windows + R, type inetmgr, and press Enter.
  2. Select Application Pools
    • In the left-hand Connections pane, click on Application Pools.
  3. Choose Your Application Pool
    • Locate the application pool you want to keep awake.
    • Right-click it and select Advanced Settings.
  4. Change Idle Timeout
    Example:
    Idle Time-out (minutes) = 0
    • Under Process Model, find Idle Time-out (minutes).
    • Default is 20 minutes.
    • Set this to 0 to disable the idle timeout.
  5. Set Start Mode to AlwaysRunning
    • In the same Advanced Settings window, under General, set:
      • Start Mode = AlwaysRunning
  6. Enable Preload for the Site
    • In IIS Manager, expand Sites, select the site tied to this app pool.
    • Click Advanced Settings.
    • Under General, set Preload Enabled = True.
  7. Recycle Settings (Optional)
    • Still in Application Pool settings, adjust recycling so it occurs at scheduled intervals if needed, without shutting down idle processes.

 

Example Configuration

  • Idle Time-out (minutes): 0
  • Start Mode: AlwaysRunning
  • Preload Enabled: True
This ensures the pool does not shut down and your app stays loaded.
Recommendation: Apply these settings only to pools where constant uptime is needed, as it increases server resource usage.
Next step: Open IIS Manager and apply the changes to the target application pool.