简体   繁体   English

更改应用程序的应用程序池会导致IIS 7.5中断或中断

[英]Will changing an application's app pool cause an outage or disruption in IIS 7.5

similar to the question asked here: 与此处提出的问题类似:

will-creating-a-new-app-pool-disrupt-anything-in-iis-6 将在IIS 6中创建一个新的应用程序池中断任何内容

I have a site running in an app pool called 'Kiosks', while there are several applications as children of the site in IIS Manager running in various app pools. 我有一个站点在名为“ Kiosks”的应用程序池中运行,而在多个应用程序池中运行的IIS管理器中,有几个应用程序是该站点的子级。 I need to move one of these applications from an app pool called 'ASP.NET v4.0' to a new app pool I will be creating with a different name (but same configuration). 我需要将其中一个应用程序从名为“ ASP.NET v4.0”的应用程序池移至将要使用不同名称(但配置相同)创建的新应用程序池。

When I move the application to the new app pool, will this cause an outage for anyone currently in the app? 当我将应用程序移至新的应用程序池时,这会导致该应用程序中当前存在的任何用户中断吗? An outage scenario is not mentioned in this MS article: 此MS文章中未提及中断方案:

Change an Application Pool for a Site (IIS 7) 更改站点的应用程序池(IIS 7)

and based on the behavior described in this thread, it seems like there should be no impact to the user: 根据此线程中描述的行为,似乎对用户没有影响:

what-happens-on-an-application-pool-reset 应用程序池重置发生了什么

Thoughts? 有什么想法吗?

I would not describe that as an outage, although there would be a slight performance impact as the new pool has to load into memory anything it requires. 我不会将其描述为中断,尽管这会对性能造成轻微影响,因为新池必须将所需的任何内容加载到内存中。 If everything goes well (no errors) this should be fairly equivalent to an application pool recycle. 如果一切顺利(没有错误),这应该等效于应用程序池回收。

The conditions under which you'd have impact would be if you have very-long-running transactions (eg a large file upload) that could be interrupted by switching pools, or if you're doing session state management in memory. 您可能会受到影响的条件是,如果您有很长时间运行的事务(例如,大文件上传),可能会因切换池而中断,或者您正在内存中进行会话状态管理。 You are cleaning out your app domain after all. 毕竟,您正在清除您的应用程序域。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM