Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»General Articles»How to Recycle IIS Application Pool in Windows

    How to Recycle IIS Application Pool in Windows

    RahulBy RahulJune 16, 20222 Mins ReadUpdated:June 16, 2022

    An application pool in IIS defines the common settings for the worker processes. That serves requests to one or more web applications assigned to that application pool. Application pool recycling is used to terminate the current worker process and start a new worker process. This process refreshes the worker process. That helps recover applications from unstable states, which can cause application crashes.

    In this tutorial, you will learn:

    • How to Recycle the application pool in IIS?
    • How to Schedule auto recycle application pool in IIS?

    1. How to Recyle Application Pool in IIS

    Follow the below steps to recycle the application pool in the IIS server:

    1. Login to the Windows system and launch IIS application
    2. In the Connections pane (left sidebar), select Application Pools under the systems hostname
    3. Select the application from the list
    4. In Actions pane (right sidebar), click Recycle link button
    Manually Recycle Application Pool in IIS
    Manually Recycle Application Pool in IIS

    You can also use Windows PowerShell to recycle the application pool attached to a specific website. The following Powershell command will recycle the application pool for the website named “demo.tecadmin.net”.

    Restart-WebAppPool (Get-Website -Name demo.tecadmin.net).applicationPool

    2. How to Schedule the Application Pool Recycling

    You can also schedule the auto recycling of the application pool at regular intervals.

    1. Login to the Windows system and launch IIS application
    2. In the Connections pane (left sidebar), select Application Pools under the systems hostname
    3. Select the application from the list
    4. In Actions pane (right sidebar), click Recycling… link button
    5. Set the recycling condition and frequency
    6. Click Next and on next window Click Finish
    Schedule Auto Recycle Application Pool in IIS
    Schedule Auto Recycle Application Pool in IIS
    Schedule Auto Recycle Application Pool in IIS
    Configure auto recycle of application pools condition and interval

    Wrap Up

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow to Clear the ASP.NET Temporary files in Windows
    Next Article How to Setup Squid Proxy Server on Ubuntu and Debian

    Related Posts

    How to Install Ionic Framework on Ubuntu 22.04

    3 Mins Read

    What is the /etc/hosts file in Linux

    Updated:June 27, 20222 Mins Read

    Creating DMARC Record for Your Domain

    Updated:June 29, 20223 Mins Read

    What is Computer Hardware?

    4 Mins Read

    What is Information Technology (IT)?

    Updated:June 29, 20223 Mins Read

    How To Install Anaconda on Ubuntu 22.04

    4 Mins Read

    Leave A Reply Cancel Reply

    Recent Posts
    • What is the /etc/aliases file
    • What is the /etc/nsswitch.conf file in Linux
    • How to Install Ionic Framework on Ubuntu 22.04
    • What is the /etc/hosts file in Linux
    • How to Install Angular CLI on Ubuntu 22.04
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.