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

While I can say I've manually recycled an app pool or two (or thousand) in my day, I don't know much about how this occurs automatically.

I assume that after a certain time interval the app pool automatically recycles, but I don't know what that time period is or how to change it.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The default is 29 hours. You change it to a different interval, or at different milestones than a time interval, via the properties of the application pool. Right-click on the pool, go to Properties, and review the options there.

share|improve this answer
1  
In IIS7, it's not a right-click per se, but it's there just the same. Under the Advanced and Recycling settings for the app pool are where they can be set. The other two to watch for are recycling when memory has been exceeded and the default 20 minute idle shutdown. Unless it's for bulk hosting, the 20 minute idle shutdown should be disabled. –  Scott Forsyth - MVP Dec 29 '10 at 22:30
    
Cool - i haven't gotten much of any time on IIS 7. –  mfinni Dec 29 '10 at 22:35
    
Thanks for the great answer, quick question: Is there any other way to access this besides the application pool? –  Mark Rogers Dec 29 '10 at 23:11
    
It's a setting of the app pool, where else would you set it? You can also set it via vbscript or powershell, but either way, it's a property of a given app pool. –  mfinni Dec 29 '10 at 23:28

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.