简体   繁体   English

为什么部署到一个应用程序池会影响另一个应用程序的CPU使用率?

[英]Why does deploying to one app pool affect CPU usage of other?

This is not an issue but I am asking out of curiosity as I didn't expect this behavior. 这不是问题,但出于好奇,我没有这样的要求。

On the server, I have two copies of the web app. 在服务器上,我有两个Web应用程序副本。 One copy at location dir1 is used mainly for testing and debugging purposes. dir1位置的一个副本主要用于测试和调试目的。 The other at dir2 is the production site. dir2的另一个是生产站点。

Earlier, both were using the same app pool. 此前,两者都使用相同的应用程序池。 I changed it so that now the test one uses an app pool called testAppPool while the other uses DefaultAppPool. 我对其进行了更改,以便现在测试一个使用名为testAppPool的应用程序池,而另一个使用DefaultAppPool。

Now, whenever I deploy a new build to test, the cpu usage of the w3wp.exe process of the DefaultAppPool also goes up. 现在,每当我部署一个新版本进行测试时,DefaultAppPool的w3wp.exe进程的CPU使用率也会上升。 Why does this happen? 为什么会这样? Aren't they different processes and not be affected by changes in other? 它们不是不同的过程,不会受到其他变化的影响吗?

In fact, a Virtual Dir in the prod also pointed to the test folder. 实际上,产品中的虚拟目录也指向测试文件夹。 This I found out today and that seems to be a reason. 我今天发现了这一点,这似乎是一个原因。

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

相关问题 默认应用程序池崩溃和关闭是否会影响在同一服务器场/ IIS中运行的其他应用程序池? - Whether the Default App pool crashes and shut down will affect other App pools running in the same farm / IIS? app_offline.htm,停止IIS站点和停止应用程序池如何影响当前正在运行的线程? - How does app_offline.htm, stopping an IIS Site and Stopping an App Pool affect currently running threads? 计时器会影响其他进程吗? - Does timer affect other processes? 编码以提高IIS应用程序池内存使用率 - Coding to Improve IIS App Pool Memory Usage 应用程序池回收如何影响ASP Net会话状态? - How does an application pool recycle affect ASP Net Session State? 如何利用IIS应用程序池中的空闲CPU时间? - How do I exploit idle CPU time in an IIS App Pool? 为什么asp.net用户会话结束会导致另一个应用程序池中的Quartz任务终止? - Why does an asp.net user session ending cause a Quartz task in a different app pool to terminate? 如何找到应用层(WCF)中CPU使用率较高的根本原因 - How to find root cause for high cpu usage in app tier (WCF) 分析ASP.NET Web应用程序的CPU使用情况 - 但不是数据库! - Profiling CPU usage of ASP.NET web app - but not the database! .NET 框架中的高 CPU 使用率 Web Azure 上的应用程序 - High CPU usage in .NET Framework Web App on Azure
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM