periodicRestart Element for recycling for applicationPoolDefaults [IIS Settings Schema]

IIS 7.0

NoteNote:

For more information about the periodicRestart element, see the following topic on the Microsoft IIS.net Web site: Periodic Restart Settings for Application Pool Recycling <periodicRestart>.

Specifies conditions under which application pools are recycled.

The following sections describe attributes, child elements, and parent elements for this section.

Attributes

Attribute

Description

memory

Optional uint attribute.

Specifies the amount of virtual memory (in kilobytes) that a worker process can use before the worker process is recycled. The maximum value supported for this property is 4,294,967 KB.

The default value is 0, which disables the attribute.

privateMemory

Optional uint attribute.

Specifies the amount of private memory (in kilobytes) that a worker process can use before the worker process recycles. The maximum value supported for this property is 4,294,967 KB.

The default value is 0, which disables the attribute.

requests

Optional uint attribute.

Specifies that the worker process should be recycled after it processes a specific number of requests.

The default value is 0, which disables the attribute.

time

Optional timeSpan attribute.

Specifies that the worker process should be recycled after a specified amount of time has elapsed.

The default value is 29:00:00 (29 hours).

Child Elements

Element

Description

schedule

Optional element.

Specifies the scheduling of periodic restarts of application pools.

Parent Elements

Element

Description

configuration

Specifies the root element in every configuration file that is used by IIS 7.

system.applicationHost

Specifies the root element for configuring Web process settings.

applicationPoolDefaults

Specifies default settings for all application pools on the server.

recycling

Specifies application pool recycling settings.

For more information about the periodicRestart element, see the following topic on the Microsoft IIS.net Web site: Periodic Restart Settings for Application Pool Recycling <periodicRestart>.

Default Configuration

None.

Configuration locations

ApplicationHost.config

Requirements

Microsoft Internet Information Services (IIS) version 7.0

Community Additions

ADD
Show: