Chat with us, powered by LiveChat
Recycling the Application Pool

Recycling the Application Pool

Recycling the application pool settings allow you to control how system resources are recovered. The following sections describe how to specify recycling application pool settings.

Follow the steps to Recycling Application Pool.

1. Open the IIS management console and expand ServerName clicking the plus sign.
2. Expand the Application Pools folder by clicking the plus sign.
3. Right-click the appropriate application pool and then click recycle option . If you want you can also start or stop a particular application pool.

Advance Settings for Recycling application pool:-

1. Open the IIS management console and expand ServerName by clicking the plus sign.
2. Expand the Application Pools folder by clicking the plus sign.
3. Right-click the appropriate application pool and then click Properties. The application pool’s properties dialog box appears.
4. Click the Recycling tab, and then set the appropriate application pool settings.

=============
Following are the options you get in the application pool Properties dialog box.
=============

1. Recycle Worker Process

Recycle worker process is the equivalent application pool setting for the requestLimit ASP.NET process model setting. It specifies the number of requests that cause a worker process or application pool to be recycled. Recycle worker process is disabled by default. To enable Recycle worker process, select the check box and specify the number of requests in the spin box.

2. Recycle Worker Processes

Recycle worker processes is the equivalent application pool setting for the timeout ASP.NET process model setting. It specifies the interval at which to recycle a worker process or application pool. Recycle worker processes is enabled and set to 120 minutes by default. You can specify a different interval by changing the value in the spin box. To disable Recycle worker processes, clear the check box.

3. Memory Recycling

Memory recycling is the equivalent application pool setting for the memoryLimit ASP.NET process model setting. It specifies the maximum amount of memory that a worker process can use. If the worker process exceeds this amount, a new process is created to replace it, and all current requests are reassigned to the new process. There are two important differences between the memoryLimit ASP.NET process model setting and the Memory recycling application pool setting:

(a) The memoryLimit ASP.NET process model setting only uses physical memory. The Memory recycling application pool setting allows you to specify separate limits for physical memory and virtual memory. Physical memory (or a combination of both physical and virtual memory) is commonly used for ASP.NET applications because of the way the CLR (common language runtime) garbage collector works. Virtual memory is commonly used for classic native applications that fragment the heap.

(b) The Memory recycling application pool setting is specified in megabytes, not as a percentage of the total memory.

Sharing

Leave your comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.