什么是IIS应用程序池?

时间:2021-12-03 23:04:43

What exactly is an application pool? What is its purpose?

应用程序池究竟是什么?它的目的是什么?

14 个解决方案

#1


188  

Application pools allow you to isolate your applications from one another, even if they are running on the same server. This way, if there is an error in one app, it won't take down other applications.

应用程序池允许您将应用程序彼此隔离,即使它们在同一服务器上运行。这样,如果一个应用程序出现了错误,它就不会拖垮其他应用程序。

Additionally, applications pools allow you to separate different apps which require different levels of security.

此外,应用程序池允许您将需要不同级别安全性的不同应用程序分开。

Here's a good resource: IIS and ASP.NET: The Application Pool

这里有一个很好的资源:IIS和ASP。净:应用程序池

#2


50  

Basically, an application pool is a way to create compartments in a web server through process boundaries, and route sets of URLs to each of these compartments. See more info here: http://technet.microsoft.com/en-us/library/cc735247(WS.10).aspx

基本上,应用程序池是一种通过流程边界在web服务器中创建分区的方法,并将url集路由到每个分区。查看更多信息:http://technet.microsoft.com/en-us/library/cc735247(WS.10).aspx

#3


20  

I second the top voted answer, but feel like adding little more details here if anyone finds it useful.

我排在前几位,但如果有人觉得它有用的话,我想在这里再增加一些细节。

short version :

短版:

IIS runs any website you configure in a process named w3wp.exe. IIS Application pool is feature in IIS which allows each website or a part of it to run under a corresponding w3wp.exe process. So you can run 100 websites all in a single w3wp.exe or 100 different w3wp.exe. E.g. run 3 websites in same application pool(same w3wp.exe) to save memory usage. ,run 2 different websites in two different application pools so that each can run under separate user account(called application pool identity). run a website in one application pool and a subsite 'website/app' under a different application pool.

IIS运行您在名为w3wp.exe的进程中配置的任何网站。IIS应用程序池是IIS中的特性,它允许每个网站或其中的一部分在相应的w3wp下运行。exe进程。你可以在一个w3wp中运行100个网站。exe或100个不同的w3wp.exe。例如,在同一个应用程序池(同一个w3wp.exe)中运行3个网站,以节省内存使用。,在两个不同的应用程序池中运行两个不同的网站,以便每个网站可以在不同的用户帐户(称为应用程序池标识)下运行。在一个应用程序池中运行一个网站,在另一个应用程序池中运行一个子站点“网站/应用程序”。

Longer version:

长版:

Every website or a part of the website,you can run under an application pool.You can control some basic settings of the website using an application pool.

每个网站或网站的一部分,你都可以在应用程序池下运行。您可以使用应用程序池控制网站的一些基本设置。

  1. You would like the website to run under a different w3wp.exe process.Then create a new application pool and assign that to the website.
  2. 你希望网站运行在不同的w3wp下。exe进程。然后创建一个新的应用程序池并将其分配给网站。
  3. You would like to run the website and all it's code under a different user account(e.g under Admin privileges),you can run do that by changing Application Pool Identity.
  4. 你想要运行网站和所有的代码在一个不同的用户帐户(e。g在Admin特权下),您可以通过更改应用程序池标识来运行它。
  5. You would like to run a particular application under .net framework 4.0 or 2.0.
  6. 您希望在.net framework 4.0或2.0下运行特定的应用程序。
  7. You would like to make sure the website in 32 bit mode or have a scheduled recycle of the w3wp.exe process etc.All such things are controlled from iis application pool.
  8. 您想要确保网站在32位模式或有计划的回收w3wp。exe进程等所有这些都是由iis应用程序池控制的。

Hope it helps!

希望它可以帮助!

#4


12  

An application pool is a group of one or more URLs that are served by a worker process or set of worker processes. Any Web directory or virtual directory can be assigned to an application pool.

应用程序池是由一个或多个url组成的一组,这些url由一个worker进程或一组worker进程提供服务。任何Web目录或虚拟目录都可以分配给应用程序池。

Every application within an application pool shares the same worker process.

应用程序池中的每个应用程序共享相同的worker进程。

#5


10  

Assume scenario where swimmers swim in swimming pool in the areas reserved for them.what happens if swimmers swim other than the areas reserved for them,the whole thing would become mess.similarly iis uses application pools to seperate one process from another.

假设游泳者在为他们预留的区域的游泳池游泳。如果游泳者游泳的地方不是为他们预留的,那么整个事情就会变得一团糟。类似地,iis使用应用程序池将一个进程与另一个进程分开。

#6


6  

IIS-Internet information Service is a web server used to host one or more web application . Lets take any example here say Microsoft is maintaining web server and we are running our website abc.com (news content based)on this IIS. Since, Microsoft is a big shot company it might take or also ready to host another website say xyz.com(ecommerce based).

is - internet信息服务是用于承载一个或多个web应用程序的web服务器。举个例子,微软在维护web服务器,我们在这个IIS上运行我们的网站abc.com(基于新闻内容)。由于微软是一家大公司,它可能会收购,也可能准备推出另一个网站,比如xyz.com(电子商务网站)。

Now web server is hosting i.e providing memory to run both websites on its single web server.Thus , here application pools come into picture . abc.com has its own rules, business logic , data etc and same applies to xyz.com.

现在web服务器托管i。e提供在其单一的web服务器上运行两个网站的内存。因此,这里应用程序池出现了。abc.com有自己的规则、业务逻辑、数据等,xyz.com也是如此。

IIS provides two application pools (path) to run two websites in their own world (data) smoothly in a single webserver without affecting each ones matter (security, scalability).This is application pool in IIS.

IIS提供了两个应用程序池(路径),可以在单个web服务器中平稳地运行两个网站(数据),而不会影响每个网站(安全性、可扩展性)。这是IIS中的应用程序池。

So you can have any number of application pool depending upon on servers capacity

因此,根据服务器的容量,可以有任意数量的应用程序池

#7


4  

An application pool is a group of urls served by worker processors or set of worker processors.

应用程序池是一组由工作处理器或一组工作处理器提供的url。

There can exist any number of application pools.

可以存在任意数量的应用程序池。

In IIS it is possible to create more than one application pool.

在IIS中,可以创建多个应用程序池。

An application in different application pool runs in different worker processors.

不同应用程序池中的应用程序在不同的工作处理器中运行。

Advantage: If an error occurred in one application pool will not effect the applications running in another application pool.

优点:如果在一个应用程序池中发生错误,将不会影响在另一个应用程序池中运行的应用程序。

#8


3  

An application pool is a group of one or more URLs that are served by a worker process or set of worker processes. Application pools are used to separate sets of IIS worker processes that share the same configuration and application boundaries. Application pools are used to isolate our web application for better security, reliability, availability and performance, and they keep running without impacting each other.

应用程序池是由一个或多个url组成的一组,这些url由一个worker进程或一组worker进程提供服务。应用程序池用于分离共享相同配置和应用程序边界的IIS worker进程集。应用程序池用于隔离我们的web应用程序,以获得更好的安全性、可靠性、可用性和性能,它们在不影响彼此的情况下继续运行。

#9


2  

Application pools are used to separate set of IIS worker processes that share the same configuration. Application pools enable us to isolate our web application for better security, reliability, and availability

应用程序池用于分离共享相同配置的IIS worker进程集。应用程序池使我们能够隔离web应用程序以获得更好的安全性、可靠性和可用性

#10


2  

Application pools are used to separate sets of IIS worker processes that share the same configuration and application boundaries.

应用程序池用于分离共享相同配置和应用程序边界的IIS worker进程集。

Application pools used to isolate our web application for better security, reliability, and availability and performance and keep running without impacting each other . The worker process serves as the process boundary that separates each application pool so that when one worker process or application is having an issue or recycles, other applications or worker processes are not affected. One Application Pool can have multiple worker process Also.

应用程序池用于隔离我们的web应用程序以获得更好的安全性、可靠性、可用性和性能,并在不影响彼此的情况下继续运行。worker进程充当分离每个应用程序池的流程边界,以便当一个worker进程或应用程序出现问题或回收时,不会影响其他应用程序或worker进程。一个应用程序池也可以有多个worker进程。

Or we can simply say that, An application pool is a group of one or more URLs that are served by a worker process or set of worker processes. Any Web directory or virtual directory can be assigned to an application pool. So that one website cannot be affected by other, if u used separated application pool.

或者我们可以简单地说,一个应用程序池是一个或多个url,这些url是由一个工作者进程或一组工作进程提供的。任何Web目录或虚拟目录都可以分配给应用程序池。这样一个网站就不会受到其他网站的影响,如果你使用了独立的应用程序池。

Source : Interviewwiz

来源:Interviewwiz

#11


1  

An Application pool is a collection of applications which uses the same worker process of IIS (w3wp.exe). Primary concern of using Application pool is to isolate two different applications with different security concerns and also to avoid crashing of applications due to worker process death.

应用程序池是使用IIS (w3wp.exe)相同的辅助进程的应用程序集合。使用应用程序池的主要关注点是隔离两个具有不同安全性的不同应用程序,并避免由于worker进程死亡而导致应用程序崩溃。

#12


0  

The application Pools element contains configuration settings for all application pools running on your IIS. An application pool defines a group of one or more worker processes, configured with common settings that serve requests to one or more applications that are assigned to that application pool.

application Pools元素包含IIS上运行的所有应用程序池的配置设置。应用程序池定义了一个或多个工作进程的组,配置了公共设置,这些设置为分配给该应用程序池的一个或多个应用程序的请求提供服务。

Because application pools allow a set of Web applications to share one or more similarly configured worker processes, they provide a convenient way to isolate a set of Web applications from other Web applications on the server computer.

由于应用程序池允许一组Web应用程序共享一个或多个同样配置的工作进程,因此它们提供了一种方便的方法,可以将一组Web应用程序与服务器计算机上的其他Web应用程序隔离开来。

Process boundaries separate each worker process; therefore, application problems in one application pool do not affect Web sites or applications in other application pools. Application pools significantly increase both the reliability and manageability of your Web infrastructure.

流程边界分离每个工人流程;因此,一个应用程序池中的应用程序问题不会影响其他应用程序池中的Web站点或应用程序。应用程序池显著提高了Web基础设施的可靠性和可管理性。

#13


0  

An application pool is a group of one or more URLs that are served by a worker process or set of worker processes. Application pools are used to separate sets of IIS worker processes that share the same configuration and application boundaries.

应用程序池是由一个或多个url组成的一组,这些url由一个worker进程或一组worker进程提供服务。应用程序池用于分离共享相同配置和应用程序边界的IIS worker进程集。

#14


0  

an application pool is like a pound if i create 2 application pool, in first application pool 100 fish and another application pool have 200 fish here fish is like a application in application pool . they are manage by worker processes . best advantage is :: if pound number-1 have bad water and cases all fish are effected then there is security of fish in pound number-2 .like this if any application pool is effected by any problem but there is not any effect of this problem in application pool 2 so security in improve ,and another profit is that is you provide all necessary authentication and rights to all application in a single application pool

如果我创建两个应用程序池,一个应用程序池就像一磅,在第一个应用程序池中有100条鱼,另一个应用程序池中有200条鱼,这里的fish就像应用程序池中的一个应用程序。它们是由工作进程管理的。最好的优势是::如果英镑排名第一的水和情况下所有的鱼不好影响还有安全的鱼磅2号的学科如果任何应用程序池引起的任何问题,但这个问题没有任何影响在应用程序池2安全改善,和另一个利润是您提供所有必要的认证和版权所有应用程序在单个应用程序池

#1


188  

Application pools allow you to isolate your applications from one another, even if they are running on the same server. This way, if there is an error in one app, it won't take down other applications.

应用程序池允许您将应用程序彼此隔离,即使它们在同一服务器上运行。这样,如果一个应用程序出现了错误,它就不会拖垮其他应用程序。

Additionally, applications pools allow you to separate different apps which require different levels of security.

此外,应用程序池允许您将需要不同级别安全性的不同应用程序分开。

Here's a good resource: IIS and ASP.NET: The Application Pool

这里有一个很好的资源:IIS和ASP。净:应用程序池

#2


50  

Basically, an application pool is a way to create compartments in a web server through process boundaries, and route sets of URLs to each of these compartments. See more info here: http://technet.microsoft.com/en-us/library/cc735247(WS.10).aspx

基本上,应用程序池是一种通过流程边界在web服务器中创建分区的方法,并将url集路由到每个分区。查看更多信息:http://technet.microsoft.com/en-us/library/cc735247(WS.10).aspx

#3


20  

I second the top voted answer, but feel like adding little more details here if anyone finds it useful.

我排在前几位,但如果有人觉得它有用的话,我想在这里再增加一些细节。

short version :

短版:

IIS runs any website you configure in a process named w3wp.exe. IIS Application pool is feature in IIS which allows each website or a part of it to run under a corresponding w3wp.exe process. So you can run 100 websites all in a single w3wp.exe or 100 different w3wp.exe. E.g. run 3 websites in same application pool(same w3wp.exe) to save memory usage. ,run 2 different websites in two different application pools so that each can run under separate user account(called application pool identity). run a website in one application pool and a subsite 'website/app' under a different application pool.

IIS运行您在名为w3wp.exe的进程中配置的任何网站。IIS应用程序池是IIS中的特性,它允许每个网站或其中的一部分在相应的w3wp下运行。exe进程。你可以在一个w3wp中运行100个网站。exe或100个不同的w3wp.exe。例如,在同一个应用程序池(同一个w3wp.exe)中运行3个网站,以节省内存使用。,在两个不同的应用程序池中运行两个不同的网站,以便每个网站可以在不同的用户帐户(称为应用程序池标识)下运行。在一个应用程序池中运行一个网站,在另一个应用程序池中运行一个子站点“网站/应用程序”。

Longer version:

长版:

Every website or a part of the website,you can run under an application pool.You can control some basic settings of the website using an application pool.

每个网站或网站的一部分,你都可以在应用程序池下运行。您可以使用应用程序池控制网站的一些基本设置。

  1. You would like the website to run under a different w3wp.exe process.Then create a new application pool and assign that to the website.
  2. 你希望网站运行在不同的w3wp下。exe进程。然后创建一个新的应用程序池并将其分配给网站。
  3. You would like to run the website and all it's code under a different user account(e.g under Admin privileges),you can run do that by changing Application Pool Identity.
  4. 你想要运行网站和所有的代码在一个不同的用户帐户(e。g在Admin特权下),您可以通过更改应用程序池标识来运行它。
  5. You would like to run a particular application under .net framework 4.0 or 2.0.
  6. 您希望在.net framework 4.0或2.0下运行特定的应用程序。
  7. You would like to make sure the website in 32 bit mode or have a scheduled recycle of the w3wp.exe process etc.All such things are controlled from iis application pool.
  8. 您想要确保网站在32位模式或有计划的回收w3wp。exe进程等所有这些都是由iis应用程序池控制的。

Hope it helps!

希望它可以帮助!

#4


12  

An application pool is a group of one or more URLs that are served by a worker process or set of worker processes. Any Web directory or virtual directory can be assigned to an application pool.

应用程序池是由一个或多个url组成的一组,这些url由一个worker进程或一组worker进程提供服务。任何Web目录或虚拟目录都可以分配给应用程序池。

Every application within an application pool shares the same worker process.

应用程序池中的每个应用程序共享相同的worker进程。

#5


10  

Assume scenario where swimmers swim in swimming pool in the areas reserved for them.what happens if swimmers swim other than the areas reserved for them,the whole thing would become mess.similarly iis uses application pools to seperate one process from another.

假设游泳者在为他们预留的区域的游泳池游泳。如果游泳者游泳的地方不是为他们预留的,那么整个事情就会变得一团糟。类似地,iis使用应用程序池将一个进程与另一个进程分开。

#6


6  

IIS-Internet information Service is a web server used to host one or more web application . Lets take any example here say Microsoft is maintaining web server and we are running our website abc.com (news content based)on this IIS. Since, Microsoft is a big shot company it might take or also ready to host another website say xyz.com(ecommerce based).

is - internet信息服务是用于承载一个或多个web应用程序的web服务器。举个例子,微软在维护web服务器,我们在这个IIS上运行我们的网站abc.com(基于新闻内容)。由于微软是一家大公司,它可能会收购,也可能准备推出另一个网站,比如xyz.com(电子商务网站)。

Now web server is hosting i.e providing memory to run both websites on its single web server.Thus , here application pools come into picture . abc.com has its own rules, business logic , data etc and same applies to xyz.com.

现在web服务器托管i。e提供在其单一的web服务器上运行两个网站的内存。因此,这里应用程序池出现了。abc.com有自己的规则、业务逻辑、数据等,xyz.com也是如此。

IIS provides two application pools (path) to run two websites in their own world (data) smoothly in a single webserver without affecting each ones matter (security, scalability).This is application pool in IIS.

IIS提供了两个应用程序池(路径),可以在单个web服务器中平稳地运行两个网站(数据),而不会影响每个网站(安全性、可扩展性)。这是IIS中的应用程序池。

So you can have any number of application pool depending upon on servers capacity

因此,根据服务器的容量,可以有任意数量的应用程序池

#7


4  

An application pool is a group of urls served by worker processors or set of worker processors.

应用程序池是一组由工作处理器或一组工作处理器提供的url。

There can exist any number of application pools.

可以存在任意数量的应用程序池。

In IIS it is possible to create more than one application pool.

在IIS中,可以创建多个应用程序池。

An application in different application pool runs in different worker processors.

不同应用程序池中的应用程序在不同的工作处理器中运行。

Advantage: If an error occurred in one application pool will not effect the applications running in another application pool.

优点:如果在一个应用程序池中发生错误,将不会影响在另一个应用程序池中运行的应用程序。

#8


3  

An application pool is a group of one or more URLs that are served by a worker process or set of worker processes. Application pools are used to separate sets of IIS worker processes that share the same configuration and application boundaries. Application pools are used to isolate our web application for better security, reliability, availability and performance, and they keep running without impacting each other.

应用程序池是由一个或多个url组成的一组,这些url由一个worker进程或一组worker进程提供服务。应用程序池用于分离共享相同配置和应用程序边界的IIS worker进程集。应用程序池用于隔离我们的web应用程序,以获得更好的安全性、可靠性、可用性和性能,它们在不影响彼此的情况下继续运行。

#9


2  

Application pools are used to separate set of IIS worker processes that share the same configuration. Application pools enable us to isolate our web application for better security, reliability, and availability

应用程序池用于分离共享相同配置的IIS worker进程集。应用程序池使我们能够隔离web应用程序以获得更好的安全性、可靠性和可用性

#10


2  

Application pools are used to separate sets of IIS worker processes that share the same configuration and application boundaries.

应用程序池用于分离共享相同配置和应用程序边界的IIS worker进程集。

Application pools used to isolate our web application for better security, reliability, and availability and performance and keep running without impacting each other . The worker process serves as the process boundary that separates each application pool so that when one worker process or application is having an issue or recycles, other applications or worker processes are not affected. One Application Pool can have multiple worker process Also.

应用程序池用于隔离我们的web应用程序以获得更好的安全性、可靠性、可用性和性能,并在不影响彼此的情况下继续运行。worker进程充当分离每个应用程序池的流程边界,以便当一个worker进程或应用程序出现问题或回收时,不会影响其他应用程序或worker进程。一个应用程序池也可以有多个worker进程。

Or we can simply say that, An application pool is a group of one or more URLs that are served by a worker process or set of worker processes. Any Web directory or virtual directory can be assigned to an application pool. So that one website cannot be affected by other, if u used separated application pool.

或者我们可以简单地说,一个应用程序池是一个或多个url,这些url是由一个工作者进程或一组工作进程提供的。任何Web目录或虚拟目录都可以分配给应用程序池。这样一个网站就不会受到其他网站的影响,如果你使用了独立的应用程序池。

Source : Interviewwiz

来源:Interviewwiz

#11


1  

An Application pool is a collection of applications which uses the same worker process of IIS (w3wp.exe). Primary concern of using Application pool is to isolate two different applications with different security concerns and also to avoid crashing of applications due to worker process death.

应用程序池是使用IIS (w3wp.exe)相同的辅助进程的应用程序集合。使用应用程序池的主要关注点是隔离两个具有不同安全性的不同应用程序,并避免由于worker进程死亡而导致应用程序崩溃。

#12


0  

The application Pools element contains configuration settings for all application pools running on your IIS. An application pool defines a group of one or more worker processes, configured with common settings that serve requests to one or more applications that are assigned to that application pool.

application Pools元素包含IIS上运行的所有应用程序池的配置设置。应用程序池定义了一个或多个工作进程的组,配置了公共设置,这些设置为分配给该应用程序池的一个或多个应用程序的请求提供服务。

Because application pools allow a set of Web applications to share one or more similarly configured worker processes, they provide a convenient way to isolate a set of Web applications from other Web applications on the server computer.

由于应用程序池允许一组Web应用程序共享一个或多个同样配置的工作进程,因此它们提供了一种方便的方法,可以将一组Web应用程序与服务器计算机上的其他Web应用程序隔离开来。

Process boundaries separate each worker process; therefore, application problems in one application pool do not affect Web sites or applications in other application pools. Application pools significantly increase both the reliability and manageability of your Web infrastructure.

流程边界分离每个工人流程;因此,一个应用程序池中的应用程序问题不会影响其他应用程序池中的Web站点或应用程序。应用程序池显著提高了Web基础设施的可靠性和可管理性。

#13


0  

An application pool is a group of one or more URLs that are served by a worker process or set of worker processes. Application pools are used to separate sets of IIS worker processes that share the same configuration and application boundaries.

应用程序池是由一个或多个url组成的一组,这些url由一个worker进程或一组worker进程提供服务。应用程序池用于分离共享相同配置和应用程序边界的IIS worker进程集。

#14


0  

an application pool is like a pound if i create 2 application pool, in first application pool 100 fish and another application pool have 200 fish here fish is like a application in application pool . they are manage by worker processes . best advantage is :: if pound number-1 have bad water and cases all fish are effected then there is security of fish in pound number-2 .like this if any application pool is effected by any problem but there is not any effect of this problem in application pool 2 so security in improve ,and another profit is that is you provide all necessary authentication and rights to all application in a single application pool

如果我创建两个应用程序池,一个应用程序池就像一磅,在第一个应用程序池中有100条鱼,另一个应用程序池中有200条鱼,这里的fish就像应用程序池中的一个应用程序。它们是由工作进程管理的。最好的优势是::如果英镑排名第一的水和情况下所有的鱼不好影响还有安全的鱼磅2号的学科如果任何应用程序池引起的任何问题,但这个问题没有任何影响在应用程序池2安全改善,和另一个利润是您提供所有必要的认证和版权所有应用程序在单个应用程序池