u· Mode: This feature of IIS 6.0 is available only when IIS
is running in worker process isolation mode.
u· Credentials: Membership in the Administrators group on the
local computer.
u· Tools: Iis.msc.
As a security best practice, log on to your computer using an account that is not in the Administrators group, and then use the Run as command to run IIS Manager as an administrator. At the command prompt, type runas /user:administrative_accountname "mmc %systemroot%\system32\inetsrv\iis.msc".
|
To recycle a worker process immediately on demand
In IIS Manager, expand the local computer.
Expand Application Pools.
Right-click the appropriate application pool you want to recycle, and then click Recycle.
|
To configure a worker process to be recycled after a set elapsed time
In IIS Manager, expand the local computer, and expand Application Pools.
Right-click the application pool you want to configure, and then click Properties.
On the Recycling tab, select the Recycle worker processes (in minutes) check box.
In the text box to the right of the Recycle worker processes (in minutes), type the number of minutes that you want to elapse before the worker process is recycled, and then click OK.
|
To configure a worker process to be recycled after a set number of processing requests
In IIS Manager, expand the local computer, and expand Application Pools
Right-click the application pool you want to configure, and then click Properties.
On the Recycling tab, select the Recycle worker process (number of requests) check box.
In the text box to the right of the Recycle worker process (number of requests), type the number of requests to be processed before the worker process is recycled, and then click OK.
|
To configure a worker process to be recycled at scheduled times
In IIS Manager, expand the local computer, expand Application Pools.
Right-click the application pool you want to configure, and then click Properties.
On the Recycling tab, select the Recycle worker processes at the following times check box.
Click Add to add a time to the list, Remove to delete a time, or Edit to change an existing time when the worker process is recycled, and then click OK.
|
Note When recycling is set to occur at scheduled times, it may occur off-schedule if the system time is manually altered. To avoid unintended changes in the time that recycling occurs, recycle the scheduled worker processes soon after the system time is changed. |
|
To configure a worker process to be recycled after consuming a set amount of memory
In IIS Manager, expand the local computer, and expand Application Pools.
Right-click the application pool you want to configure, and then click Properties.
On the Recycling tab, under Memory recycling, select the Maximum virtual memory (in megabytes) check box.
In the text box to the right of Maximum virtual memory (in megabytes), type the maximum amount of virtual memory allowed before the worker process is recycled.
Select the Maximum used memory (in megabytes) check box.
In the text box to the right of Maximum used memory (in megabytes), type the maximum amount of memory allowed before the worker process is recycled, and then click OK.
|