Stop IIS 7.5 Application Pool Recycling

痞子三分冷 提交于 2019-11-26 16:55:40

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/3156925/stop-iis-7-5-application-pool-recycling

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!