Changing the IIS Application Pool Recycling Duration

The application pool is set to recycle every 29 hours by default. So There are chances the app pool gets recycled during a peak work hours in an origination and everyone gets kicked out of the intranet or internet applications hosted on the application pool. To avoid this, we can change the automatic recycling duration of the application pool or set the application pool to recycle manually.

To change the application pool recycling duration follow the below steps.

  1. Go to “Internet Information Services (IIS) Manager”.
  2. Go to “Application Pools” in the tree view.
  3. Select the app pool which you want to change the recycle duration.
  4. Click “Recycling..” in the “Actions” panel. The “Recycling Conditions” screen pops up.
  5. In the recycling conditions screen, by default the “Regular time intervals” option will be selected with a duration of 1740 in minutes. It’s 29 hours.IIS-Application-Pool-Recycle
  6. You can change this to specific time or based on virtual or private memory usage.IIS-Application-Pool-Recycle-2

Reference: Microsoft Article on Application Pool Recycling.

 

Leave your thoughts...