Iis – Do I need automatic IIS pool recycle every N hours

iis

By default IIS has "Recycling" app pool settings set to "Regular Time Interval (minutes) == 1740" which makes the application pool restart every 29 hours no matter what happens and what load the server responds to.

How do I know if I need this "automatic recycle every N hours" policy enabled?

Best Answer

Depends on your application. I have some applications that i don't want to recycle when it's busy on the website. Therefore i changed the regular interval into Specific times. These time are late in the evening and early in the morning. This way the recycle doesn't interfere with the user interaction on the site.

For regular websites it wouldn't be a problem to have the regular interval.

Als you could choose to recycle based on requests and memory. This also depends on your specifications of the webserver (RAM).