Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

How to limit IIS worker process memory and CPU consumption on a Plesk server?

 
clicpudatabasedomainsgo

Question

A lot of customers use high memory and CPU for their IIS Worker processes. How can the CPU and RAM usage be limited for their IIS Worker processes?

Answer 

In the Plesk it is possible to set basic IIS Application Pool CPU and memory limits as follows:

CPU and RAM limits for the global application pool (server-wide) via the Plesk GUI
For multiple domains by adjusting assigned service plan in the Plesk GUI
Managing application pool settings via CLI

1. Go to Tools & Settings > IIS Application Pool:

2. In this menu it is possible to set:

  • The maximum number of worker processes
  • The Idle timeout in minutes
  • The idle timeout action
  • Maximum CPU usage (%)
  • The action (Limit action) that IIS performs when a worker process exceeds the configured maximum CPU usage
  • The reset period (Limit interval in minutes) for monitoring of CPU usage on an application pool
  • Recycling at regular time intervals (minutes)
  • Recycling when the maximum number of requests is reached
  • Recycling when the maximum amount of virtual memory is used
  • Recycling when the maximum amount of private memory is used

Default option for IIS is recycle the pool when the maximum amount of memory was reached.

1. Go to Service Plan > SERVICE_PLAN_NAME > Performance tab

  • The maximum number of worker processes
  • The Idle timeout in minutes
  • The idle timeout action
  • Maximum CPU usage (%)
  • The action (Limit action) that IIS performs when a worker process exceeds the configured maximum CPU usage
  • The reset period (Limit interval in minutes) for monitoring of CPU usage on an application pool
  • Recycling at regular time intervals (minutes)
  • Recycling when the maximum number of requests is reached
  • Recycling when the maximum amount of virtual memory is used
  • Recycling when the maximum amount of private memory is used

 

2. Set required values for the options below:


As an example, the command below sets the memory usage of application pool to 128MB for
example.com
:

  1. Log in to the server via RDP

    Note: if direct RDP access to the server is not possible, contact server administrator for further assistance.

  2. Execute the following command in command prompt

    C:> plesk bin site.exe --set-iis-app-pool-settings example.com -iis-app-pool-turned-on true -recycling-by-virtual-memory 131072 -recycling-by-private-memory 131072

    Note: Values for memory limits set in kilobytes

    Note: The changes will be reflected in Plesk database, in iisapppools table, where iisapppools.ownerId refers to domain's ID.

  3. To apply new limits application pool have to be re-cycled manually as below or automatically by timeout:

    C:> "C:WindowsSysWOW64inetsrvappcmd.exe" recycle apppool /apppool.name:"example.com(domain)(4.0)(pool)"

Additional information and options can be found on the following page of the Plesk Obsidian documentation:

site.exe: Sites | Plesk Obsidian documentation 

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

How to Host a Go App on Plesk

Read More »

Exploring Plesk’s Added Value Solutions So Far in 2023

Read More »

Unveiling Sitejet Builder: The Perfect Match for Your Effortless Website Creation Needs

Read More »
Knowledge Base

 An operation fails in Plesk: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘X’ for key ‘PRIMARY’

Read More »

How to manage and monitor CPU/RAM usage per domains in Plesk for Windows Server

Read More »

How to install the Plesk Cgroups Manager resource controller in Plesk?

Read More »

Plesk repair db shows an error: There is no IP pool with ID 0

Read More »

Hosting Wiki

  • Django
  • CLI
  • Server Redundancy
  • Google Cloud CDN
  • Bare Metal Server
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • MongoDB
  • Domain
  • Plesk
  • SQL database
  • NoSQL Database
  • Web Server
  • DNS Server
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family