Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
712 views
in Technique[技术] by (71.8m points)

iis 7.5 - Stop IIS 7.5 Application Pool Recycling

How do stop application pools from recycling in IIS 7.5?

I have configured the following settings:

ProcessModel -> Idle Time-out (minutes) = 0
Recycling -> Regular Time Intervals (minutes) = 0

Are these settings enought to stop an application pool from recycling?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Yes, that should be ok assuming you also use Private Memory Limit = 0. There are still reasons an AppPool could recycle, such as when adding a new Global Module, it will require to be recycled so configuration changes take effect, but you can also disable that using the "Disable Recycling on Configuratoin Changes".

Finally if you are running ASP.NET you should consider that still AppDomains will recycle when changes in config (such as web.config) happen. But that should not affect the AppPool per'se only the ASP.NET applications running in it (such as Session State), but again it depends on why you ask this question if this is important or not.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...