periodicRestart Element for recycling for add for applicationPools [IIS Settings Schema]
Note
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 an application pool is recycled.
Syntax
Attributes and Elements
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 time interval for when the worker processes in an application pool are restarted. |
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. |
applicationPools |
Contains default configuration settings for all application pools on the server and defines configuration settings for specific application pools. |
add |
Configures an application pool in the server configuration. |
recycling |
Configures recycling settings for an application pool. |
Remarks
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.
Element Information
Configuration locations |
ApplicationHost.config |
Requirements |
Microsoft Internet Information Services (IIS) version 7.0 |
See Also
Reference
schedule Element for periodicRestart for add for applicationPools [IIS Settings Schema]