What are optimal settings for Recycling of Application Pools in IIS7 in shared environment?

前端 未结 4 659
耶瑟儿~
耶瑟儿~ 2021-01-30 04:15

What are optimal settings for Recycling of Application Pools in IIS7 in a shared environment?

\"enter

4条回答
  •  猫巷女王i
    2021-01-30 04:55

    If you have a heavy traffic site, use long recycle schedule. If you have a low traffic site use shorter/default schedule to save memory.

    I learned this from Al Zabir's blog: http://msmvps.com/blogs/omar/archive/2008/10/04/best-practices-for-creating-websites-in-iis-6-0.aspx

    Daniel S. is right, your session variables get destroyed on recycle, so make sure you test this well or have good error protection/recovery when getting your session objects.

提交回复
热议问题