Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»General Articles»How to Recycle IIS Application Pool in Windows

    How to Recycle IIS Application Pool in Windows

    By RahulJune 16, 20222 Mins Read

    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.

    Advertisement

    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

    Related Posts

    Configure Postfix to Use Gmail SMTP on Ubuntu & Debian

    Deploying Flask Application on Ubuntu (Apache+WSGI)

    OpenSSL: Working with SSL Certificates, Private Keys and CSRs

    Add A Comment

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • Configure Postfix to Use Gmail SMTP on Ubuntu & Debian
    • PHP Arrays: A Beginner’s Guide
    • Deploying Flask Application on Ubuntu (Apache+WSGI)
    • OpenSSL: Working with SSL Certificates, Private Keys and CSRs
    • How to Create and Read List in Python
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

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