Term
What are "Application Pools?" |
|
Definition
Application Pools are native to IIS 6 and form boundaries around applications that separate them from one another. Because worker processes are also separated, if one fails, other applications are not affected. They are listed and defined in the "Application Pools" node. |
|
|
Term
What are the five ways one can recycle worker processes? Where are these options located? |
|
Definition
By number of minutes, number of requests, a specific time of day, the maximum virtual memory used, and the maximum physical memory used.
These options are on the "Recycle" tab of the Application Pool properties. |
|
|
Term
What are the 4 performance options that can be modified for Application Pools? |
|
Definition
Idle timeout, Request queue limit, Enable CPU monitoring and Web garden. |
|
|
Term
What is "Enable rapid-fail protection?" |
|
Definition
This is enabled by default; this protects the server by monitoring failures in the worker processes; this will disable an application from being restarted if it fails a certain amount of times within a certain amount of time. If IIS disables this Application Pool, IIS will respond with a 503 Service Unavailable error. |
|
|
Term
What is "Enable pinging?" |
|
Definition
This pings the worker process. If a worker process fails to respond to this ping (it pings at intervals you specify), IIS will terminate the process and create a new one. |
|
|
Term
What is "Worker Process Isolation Mode?" |
|
Definition
This allows IIS to separate processes owned by an application from other processes owned by another applications. This enables IIS to continue functioning if a process hangs or crashes so you one may shut down the offending process. |
|
|
Term
How can we define settings globally for all Application Pools? |
|
Definition
Select Properties by right clicking on the Application Pools node. |
|
|
Term
Which presents a greater possibility for memory leaks- ASP or ASP.NET? How does this affect recycling worker processes? |
|
Definition
ASP would have more memory leaks and would require more recycling management. |
|
|
Term
How can one prevent memory leaks from using up memory and causing problems? |
|
Definition
By managing "Memory recycling" and defining the amount of virtual or physical memory use that will require a worker process be restarted |
|
|
Term
How can we prevent IIS from using all of the CPU? |
|
Definition
By configuring settings on the Performance tab. |
|
|
Term
What does "Idle timeout" do if enabled? |
|
Definition
It will shutdown worker processes after being idle for a predefined amount of minutes. |
|
|
Term
What does "Request queue limit" do if checked? |
|
Definition
This defines the number of requests that the Application Pool will queue up before it rejects requests. If the limit is reached, all new requests will receive a 503 Service Unavailable error. |
|
|
Term
What happens if we Enable CPU monitoring? How can we define this task? |
|
Definition
This will trigger a predefined action such as shutting down the worker processes in the Application Pool if a certain CPU percentage is reached. We can change the CPU use percentage and the CPU usage refresh rate (in minutes). |
|
|
Term
How much memory does a worker process require to start? What is the default number of worker processes in a Web garden of an Application Pool? |
|
Definition
|
|
Term
What is the default number of failures and amount of time for these failures relating to rapid-fail protection? |
|
Definition
|
|
Term
What happens when IIS detects that a worker process fails? How does rapid-fail protection affect this? |
|
Definition
IIS will shutdown the process and wait until it is requested and restart it, unless it has failed a certain number of times within a certain amount of time, as defined by rapid-fail protection, upon which the process will be terminated. |
|
|
Term
How can one make sure that a worker process doesn't use resources if it doesn't startup or shutdown in a reasonable amount of time? |
|
Definition
Change the startup and shutdown time limits from the Health tab on the application pool properties menu. If the worker process does not start of shutdown in time, it will be terminated. |
|
|
Term
What can we find on the Identity tab? |
|
Definition
This defines what rights the worker processes should use to run. They can be predefined, or an actual user. |
|
|