Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

What are the implications of setting the recyle after xx minutes of inactivity from the default of 20 minutes to 24 hours?

The website has a very low activity level. We have a vendor component that causes a problem only on the first two calls to the component so I would temporarily extend the timeout to 24 hours to minimize the effect until the component is fixed.

J

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Glad to hear you say "until the component is fixed."

In short, no, there's not usually any issues with doing so. And if there end up being some, keep your eye on the site and server and tweak as required.

We usually set all sites to recycle once or twice every 24 hours (turning off recycle after x minutes). The only issues you'd run into are all ones that you can deal with on a case by case basis as the need arises (i.e. tweak to allow for more frequent recycling on problem sites, etc.):

  1. Your server might not have enough resources (memory) to handle a ton of sites not recycling, which will cause...well, just tweak the problem sites.
  2. Other issues not seen before might pop up because frequent recycles have previously hidden the problem before. This isn't a bad thing as you'll either fix that issue, or at least know that you need more frequent recycles to deal with it.

EDIT: I should point out that I completely turn off the "recycle after x minutes inactivity", but schedule a recycle during times of lower activity. You can also deal with problem sites, sites that have issues because of memory leaks or what-have-you leading to needing a recycle to bring memory use back down again, by setting the memory based maximums for the app pool. Of course, this leads to not knowing exactly when the recycles will take place, but at least rogue sites won't effect other sites on the server unnecessarily (and keep an eye on the server logs to see when things are being recycled).

share|improve this answer
    
Just what I was looking for. Thanks –  John S Feb 2 '11 at 22:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.