Recycling Application Pool Settings
The recycling application pool settings allow you to control how system resources are recovered. The following sections describe how to specify recycling application pool settings.
Specifying Recycling Application Pool Settings
The recycling application pool settings are specified on the Recycling tab of an application pool's properties dialog box.
To set the recycling application pool settings
- Open the IIS management console and expand the local computer by clicking the plus sign.
- Expand the Application Pools folder by clicking the plus sign.
- Right-click the appropriate application pool and then click Properties. The application pool's properties dialog box appears.
- Click the Recycling tab, and then set the appropriate application pool settings.
Recycling tab of the application pool Properties dialog box
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:
- 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 common language runtime's garbage collector works. Virtual memory is commonly used for classic native applications that fragment the heap.
- The Memory recycling application pool setting is specified in megabytes, not as a percentage of the total memory.
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.
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.
Application Pool Settings for Worker Process Isolation Mode | Performance Application Pool Settings | Health Application Pool Settings | Identity Application Pool Settings | IIS 6.0 Application Isolation Modes | IIS 6.0 Application Isolation Modes Overview | Mapping ASP.NET Process Model Settings to IIS 6.0 Application Pool Settings | <processModel> Element