单个应用程序池中的IIS多个工作进程 [英] IIS multiple worker process in single Application pool

查看:486
本文介绍了单个应用程序池中的IIS多个工作进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对IIS 6.0工作进程和应用程序池有疑问.

I have a doubt on IIS 6.0 worker process and Application pool.

我有两个Web应用程序,这些应用程序以不同的端口号托管在IIS 6.0上.同样,我也被创建并为该应用程序分配了一个应用程序池.该应用程序池已为2个工作进程配置.现在我的问题是什么?当我从浏览器运行这两个应用程序时,该应用程序池将如何处理它们?是将这两个工作进程分配给一个应用程序还是将两者分配??

I am having two web application which is been hosted on IIS 6.0 with different port number. Also I am created and assigned an Application pool to that applications. That application pool has configured for 2 worker process. Now what is my question is? when I am running that two applications from the browser, How that application pool will handle them? whether that two worker process will be assigned to one application or both.?

请分享您的想法... 在此先感谢...

Please share your idea... Thanks in Advance...

推荐答案

工作进程特定于每个应用程序池.如果您指定一个应用程序池具有1个工作进程,则它将只有1个工作进程.如果您指定另一个应用程序池有2个工作进程,则它将有2个工作进程.您应该注意到,属性屏幕特定于应用程序池.

The worker processes are specific to each application pool. If you specify one application pool to have 1 worker process it will have only 1 worker process. If you specify another application pool to have 2 worker processes it will have 2 worker processes. You should notice that the properties screen is specific to an app pool.

您可以通过以下过程查看哪些应用程序池正在使用哪些工作进程;

You can see which application pools are using which worker processes using the following process;

•开始>运行> Cmd

• Start > Run > Cmd

•转到Windows> System32

• Go To Windows > System32

•运行cscript iisapp.vbs

• Run cscript iisapp.vbs

•您将获得正在运行的工作进程ID和应用程序池名称的列表.

• You will get the list of Running Worker ProcessID and the Application Pool Name.

您应该看到,如果您的一个应用程序池设置为使用2个工作进程,它将在列表中有两个条目具有相同的应用程序池名称.

You should see that if one of your app pools is set to use 2 worker processes it will have two entries in the list against the same app pool name.

上面的说明和参考以及

Instructions and reference for above and also listing running worker processes in IIS7.

这篇关于单个应用程序池中的IIS多个工作进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆