Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
714 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 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...