Periodic Restart Settings for Application Pool Recycling

Periodic Restart Settings for Application Pool Recycling <periodicRestart>



Overview

The <periodicRestart> element contains configuration settings that allow you to control when an application pool is recycled. You can specify that Internet Information Services (IIS) 7 recycle the application pool after a time interval (in minutes) or at a specific time each day. You can also configure IIS to base the recycle on the amount of virtual memory or physical memory that the worker process in the application pool is using or configure IIS to recycle the application pool after the worker process has processed a specific number of requests

Compatibility

Version Notes
IIS 10.0The <periodicRestart> element was not modified in IIS 10.0.
IIS 8.5The <periodicRestart> element was not modified in IIS 8.5.
IIS 8.0The <periodicRestart> element was not modified in IIS 8.0.
IIS 7.5The <periodicRestart> element was not modified in IIS 7.5.
IIS 7.0The <periodicRestart> element was introduced in IIS 7.0.
IIS 6.0The <periodicRestart> element replaces portions of the IIS 6.0 IIsApplicationPoolsmetabase property.

Setup

The <applicationPools> collection is included in the default installation of IIS 7.

How To

How to set up periodic recycling for an application pool

  1. Open Internet Information Services (IIS) Manager:
    • If you are using Windows Server 2012 or Windows Server 2012 R2:
      • On the taskbar, click Server Manager, click Tools, and then click Internet Information Services (IIS) Manager.
    • If you are using Windows 8 or Windows 8.1:
      • Hold down the Windows key, press the letter X, and then click Control Panel.
      • Click Administrative Tools, and then double-click Internet Information Services (IIS) Manager.
    • If you are using Windows Server 2008 or Windows Server 2008 R2:
      • On the taskbar, click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
    • If you are using Windows Vista or Windows 7:
      • On the taskbar, click Start, and then click Control Panel.
      • Double-click Administrative Tools, and then double-click Internet Information Services (IIS) Manager.
  2. In the Connections pane, expand the server name, and then click Application Pools.
  3. In the Application Pools pane, select the application pool you want edit.
  4. In the Actions pane, click Recycling... 

  5. On the Recycling Conditions page of the Edit Application Pool Recycling Settings Wizard, select at least one of the options in the Fixed Intervals section, type values into the appropriate text boxes, and then click Next. 

  6. (Optional) On the Recycling Events to Log page of the Edit Application Pool Recycling Settings Wizard, select the configurable recycling events and run-time recycling events that you want IIS to send to the event log when they occur, and then click Finish.         




Comments

  1. Thanks a lot for one’s intriguing write-up. It’s actually exceptional. Searching ahead for this sort of revisions. spicewood custom pool builder

    ReplyDelete

Post a Comment

Popular posts from this blog

Private Chat Using Node js and socket.io with encrypt and decrypt message and insert into mongo db

How To Migrate MVC 3 Application To MVC 5

Populate a drop-down in Vue.js and Asp.net Core from an ajax call