Setting Up IIS Application Pool (Windows)¶
IIS Application Pool contains all web applications installed on your sites. If your service provider allocated a dedicated IIS application pool for your sites, then you can have a level of isolation between web applications used by your sites and web applications used by other hosting users who host their websites on the same server. Because each application pool runs independently, errors in one application pool will not affect the applications running in other application pools.
Once you switch on the application pool, all web applications on your websites will be using it.
To switch on dedicated IIS application pool for your websites:
- Go to Websites & Domains > Dedicated IIS Application Pool for Your Websites.
- Click Switch On.
- Specify the maximum number of worker processes permitted to service requests for the IIS application pool and the amount of time (in minutes) a worker process will remain idle before it shuts down.
- To limit the amount of CPU resources that the IIS application pool can use, clear the Unlimited checkbox and provide a number (in percents) in the Maximum CPU use (%) field, select the action that IIS performs when a worker process exceeds the configured maximum CPU usage, and specify the reset period for monitoring of CPU usage on an application pool. When the specified number of minutes passes since the last reset, IIS resets CPU timers for the logging and for limit intervals.
- Select the required recycling options depending on time or resources consumption to periodically recycle the IIS application pool and to avoid unstable states that can lead to application crashes, hangs, or memory leaks.
- Click OK.
To stop all applications running in the application pool:
- Go to Websites & Domains > Dedicated IIS Application Pool for Your Websites.
- Click Stop.
To start all applications in the application pool:
- Go to Websites & Domains > Dedicated IIS Application Pool for Your Websites.
- Click Start.
If you run applications that are known to have memory leaks or become unstable after working for a long time, then you might need to restart them from time to time.
To restart all applications running in the application pool:
- Go to Websites & Domains > Dedicated IIS Application Pool for Your Websites.
- Click Recycle.
To switch off the dedicated IIS application pool for your websites:
- Go to Websites & Domains > Dedicated IIS Application Pool for Your Websites.
- Click Switch Off.