Role of Application Pools in IIS Web Server

Application Pool is the concept to isolate websites hosted on a IIS server by dedicating an IIS worker process for each pool.  An application pool can be used by one or more websites on a IIS server.

Every application within an application pool shares the same worker process. Because each worker process operates as a separate instance of the worker process executable, W3wp.exe, the worker process that services one application pool is separated from the worker process that services another. Each separate worker process provides a process boundary so that when an application is assigned to one application pool, problems in other application pools do not affect the application. This ensures that if a worker process fails, it does not affect the applications running in other application pools.

 

With this you can run multiple instances of same and/or different Web sites on the same Web server yet with website specific runtime environments for each website.  The various other benefits include

  1. inherently builds risk averseness of web sites on the server, i.e., if an application pool process crashes it only affects web sites using that application pool while the rest of web sites using other application pools on the same server just works fine

 

image

 

<

p>w3wp.exe    w3wp.exe    7452    < 0.01    65,288 K        NT AUTHORITYNETWORK SERVICE    c:windowssystem32inetsrvw3wp.exe -ap "ASP.NET v4.0 DefaultAppPool" -v "v4.0" -l "webengine4.dll" -a .pipeiisipmf4cb14c3-4957-4522-a013-f1a1db422484 -h "C:inetpubtempapppoolsASP.NET v4.0 DefaultAppPool.config" -w "" -m 0 -t 20    IIS Worker Process        Microsoft Corporation

Leave a Reply

Your email address will not be published. Required fields are marked *