Skip to content
  • Contact us: +34 944 58 06 58
  • Plesk Partner Program
  • Plesk Lifecycle Policy
  • Blog
  • Contact us
  • Plesk 360
  • Contact us: +34 944 58 06 58
  • Plesk Partner Program
  • Plesk Lifecycle Policy
  • Blog
  • Contact us
  • Plesk 360
  • Solutions
    By Role
    • Developers
    • Content Managers
    • Digital Agencies
    • IT Admins
    • Web Hosters
    • Hyperscalers
    • Developers
    • Content Managers
    • Digital Agencies
    • IT Admins
    • Web Hosters
    • Hyperscalers
    By Edition
    • Web Admin Edition
    • Web Pro Edition
    • Web Host Edition
    • Business & Collaboration
    • Plesk WP Edition
    • Web Admin Edition
    • Web Pro Edition
    • Web Host Edition
    • Business & Collaboration
    • Plesk WP Edition
    By Cloud
    • Amazon Web Services
    • Microsoft Azure
    • Alibaba Cloud
    • GCP Marketplace
    • Vultr
    • DigitalOcean
    • Linode
    • UpCloud
    • Amazon Web Services
    • Microsoft Azure
    • Alibaba Cloud
    • GCP Marketplace
    • Vultr
    • DigitalOcean
    • Linode
    • UpCloud
    Partner Program
    Exclusive discounts, benefits and exposure to take your business to the next level
    Become a partner
    • By Role
      • Developers
      • Content Managers
      • Digital Agencies
      • IT Admins
      • Web Hosters
      • Hyperscalers
    • By Edition
      • Web Admin Edition
      • Web Pro Edition
      • Web Host Edition
      • Business & Collaboration
      • WP Edition
    • By Cloud
      • Amazon Web Services
      • Microsoft Azure
      • Alibaba Cloud
      • GCP Marketplace
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
    • Partner Program
      • Partner Program
  • Product
    Explore Features
    • Everyone
    • Admins & Web Hosters
    • Developers
    • Designers & Agencies
    • Plesk Features
    • Everyone
    • Admins & Web Hosters
    • Developers
    • Designers & Agencies
    • Plesk Features
    Key Topics
    • SocialBee
    • WP Toolkit
    • Sitejet Builder
    • SEO Toolkit
    • Joomla! Toolkit
    • Plesk Premium Email
    • Plesk Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder
    • SEO Toolkit
    • Joomla! Toolkit
    • Plesk Premium Email
    • Plesk Email Security
    Feature Packs
    • Business & Collaboration
    • WP Pack
    • Hosting Pack
    • Power Pack
    • Language Pack
    • Business & Collaboration
    • WP Pack
    • Hosting Pack
    • Power Pack
    • Language Pack
    Featured Extension
    SocialBee
    • Explore Features
      • Everyone
      • Admins & Web Hosters
      • Developers
      • Designers & Agencies
      • Plesk Features
    • Key Topics
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Plesk Premium Email
      • Plesk Email Security
    • Feature Packs
      • Business & Collaboration
      • WP Pack
      • Hosting Pack
      • Power Pack
      • Language Pack
    • Featured Extension
      • Extension
  • Pricing
  • Extensions
  • Help Center
  • More
    • Careers
    • Events
    • Plesk University
  • FREE TRIAL
  • Solutions
    • By Role
      • Developers
      • Content Managers
      • Digital Agencies
      • IT Admins
      • Web Hosters
      • Hyperscalers
    • By Edition
      • Web Admin Edition
      • Web Pro Edition
      • Web Host Edition
      • Business & Collaboration
      • WP Edition
    • By Cloud
      • Amazon Web Services
      • Microsoft Azure
      • Alibaba Cloud
      • GCP Marketplace
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
    • Partner Program
      • Partner Program
  • Product
    • Explore Features
      • Everyone
      • Admins & Web Hosters
      • Developers
      • Designers & Agencies
      • Plesk Features
    • Key Topics
      • SocialBee
      • WP Toolkit
      • Sitejet Builder
      • SEO Toolkit
      • Joomla! Toolkit
      • Plesk Premium Email
      • Plesk Email Security
    • Feature Packs
      • Business & Collaboration
      • WP Pack
      • Hosting Pack
      • Power Pack
      • Language Pack
    • Featured Extension
      • SocialBee
  • Pricing
  • Extensions
  • Help center
  • More
    • Careers
    • Events
    • Plesk University
    • Blog
    • Plesk Partner Program
    • Contact Us
  • FREE TRIAL
  • Solutions
    • By Role
      • Developers
      • Content Managers
      • Digital Agencies
      • IT Admins
      • Web Hosters
      • Hyperscalers
    • By Edition
      • Web Admin Edition
      • Web Pro Edition
      • Web Host Edition
      • Business & Collaboration
      • WP Edition
    • By Cloud
      • Amazon Web Services
      • Microsoft Azure
      • Alibaba Cloud
      • GCP Marketplace
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
    • Partner Program
      • Partner Program
  • Product
    • Explore Features
      • Everyone
      • Admins & Web Hosters
      • Developers
      • Designers & Agencies
      • Plesk Features
    • Key Topics
      • SocialBee
      • WP Toolkit
      • Sitejet Builder
      • SEO Toolkit
      • Joomla! Toolkit
      • Plesk Premium Email
      • Plesk Email Security
    • Feature Packs
      • Business & Collaboration
      • WP Pack
      • Hosting Pack
      • Power Pack
      • Language Pack
    • Featured Extension
      • SocialBee
  • Pricing
  • Extensions
  • Help center
  • More
    • Careers
    • Events
    • Plesk University
    • Blog
    • Plesk Partner Program
    • Contact Us
  • FREE TRIAL

Knowledge Base

Plesk hosted site uses more RAM than expected: too many PHP-FPM child processes

 
apachedomainsgohostedphp

Symptoms

  • The server is slow and websites take too long to load or they do not load at all, while generating 504 errors at the same time
  • The Apache error log indicates that the Apache web server is having difficulties with the termination of some processes:

    [Fri Nov 17 16:11:45.225766 2023] [core:warn] [pid 27150:tid 139707243858880] AH00045: child process 29995 still did not exit, sending a SIGTERM
    [Fri Nov 17 16:11:45.225929 2023] [core:warn] [pid 27150:tid 139707243858880] AH00045: child process 31367 still did not exit, sending a SIGTERM
    [Fri Nov 17 16:11:45.226032 2023] [core:warn] [pid 27150:tid 139707243858880] AH00045: child process 959 still did not exit, sending a SIGTERM
    ...
    [Fri Nov 17 16:11:47.250484 2023] [core:error] [pid 27150:tid 139707243858880] AH00046: child process 29995 still did not exit, sending a SIGKILL
    [Fri Nov 17 16:11:47.250957 2023] [core:error] [pid 27150:tid 139707243858880] AH00046: child process 31367 still did not exit, sending a SIGKILL
    [Fri Nov 17 16:11:47.251313 2023] [core:error] [pid 27150:tid 139707243858880] AH00046: child process 959 still did not exit, sending a SIGKILL

  • The command below shows high RAM usage:

    # free -h

  • The command below shows more PHP-FPM child processes than allowed under pm.max_children in Domains > example.com > PHP Settings:

    # ps faux | grep fpm
    ...
    root 2482 0.0 0.2 583108 20784 ? Ss Jan16 0:55 php-fpm: master process (/opt/plesk/php/7.4/etc/php-fpm.conf)
    exampl+ 17707 4.0 0.2 583800 22940 ? S 15:28 0:00 _ php-fpm: pool example.com
    exampl+ 17707 4.0 0.2 583800 22940 ? S 15:28 0:00 _ php-fpm: pool example.com
    exampl+ 17707 4.0 0.2 583800 22940 ? S 15:28 0:00 _ php-fpm: pool example.com
    exampl+ 17707 4.0 0.2 583800 22940 ? S 15:28 0:00 _ php-fpm: pool example.com
    exampl+ 17707 4.0 0.2 583800 22940 ? S 15:28 0:00 _ php-fpm: pool example.com
    exampl+ 17707 4.0 0.2 583800 22940 ? S 15:28 0:00 _ php-fpm: pool example.com
    exampl+ 17707 4.0 0.2 583800 22940 ? S 15:28 0:00 _ php-fpm: pool example.com
    exampl+ 17707 4.0 0.2 583800 22940 ? S 15:28 0:00 _ php-fpm: pool example.com
    exampl+ 17707 4.0 0.2 583800 22940 ? S 15:28 0:00 _ php-fpm: pool example.com
    exampl+ 17707 4.0 0.2 583800 22940 ? S 15:28 0:00 _ php-fpm: pool example.com
    ...
    exampl+ 17707 4.0 0.2 583800 22940 ? S 15:28 0:00 _ php-fpm: pool example.com
    mceclip1.png

Cause

The pm variable in PHP Settings is set to ondemand, which means that PHP-FPM will fork processes when requests are received and that can overwhelm your Plesk server in certain scenarios where too many processes stay active for too long.

Resolution

  1. Log into Plesk

  2. Go to Domains > example.com > PHP Settings

  3. In the pm dropdown, choose either static (this ensures a fixed number of child processes defined by pm.child_processes are always available to handle user requests) or dynamic (In this mode, PHP-FPM dynamically manages the number of available child processes and ensures that at least one child process is always available, but the process count will not go higher than the amount configured in the pm.child_processes).

Additional information

PHP: Configuration - Manual | pm string

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

Ruby on Rails vs PHP: Which one’s right for your needs?

Read More »

How to Host a Go App on Plesk

Read More »

Your Complete .htaccess Guide: Including .htaccess Basics and More

Read More »
Knowledge Base

Websites hosted on Plesk server are unavailable with 502 Bad Gateway: upstream sent too big header while reading response header

Read More »

 Website pages based on WordPress show “404 Not Found” when PHP-FPM by Apache is used

Read More »

How to configure Apache to process PHP code inside an .html file on a Plesk server

Read More »

How to install the php-mcrypt module on a Plesk server

Read More »

Hosting Wiki

  • Django
  • Server Redundancy
  • Google Cloud CDN
  • Bare Metal Server
  • PhpMyAdmin
  • phpPgAdmin
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • PHP
  • MongoDB
  • Domain
  • Plesk
  • Apache Tomcat
  • Apache
  • Web Server
  • DNS Server

Industry
Partners

industry-partner_ALIBABA
industry-partner_GOOGLEPARTNER
industry-partner_MICROSOFT
industry-partner_REDHAT-r2
industry-partner_ALIBABA
industry-partner_AUTOMATTIC
industry-partner_AWS
industry-partner_DIGITALOCEAN
industry-partner_SCALEWAY
Follow us:
Facebook Twitter Linkedin Youtube Github

COMPANY

About Plesk
Our Brand
Legal
Careers
Impressum

PRODUCT

Pricing 
Extensions
What’s new

KNOWLEDGE BASE

Documentation
Help Center
Migrate to Plesk
Contact Us
Hosting Wiki
Preview releases

PROGRAMS

Contributor Program NEW
Partner Program
Affiliate ProgramNEW

COMMUNITY

Blog
Forums 
Plesk University

First defaul

Company

About Plesk
Our Brand
Legal
Careers
Impressum

PRODUCT

Pricing 
Extensions
What’s new

KNOWLEDGE BASE​

Documentation
Help Center
Migrate to Plesk
Contact Us
Hosting Wiki
Preview releases

PROGRAMS​

Contributor Program NEW
Partner Program
Affiliate ProgramNEW

COMMUNITY​

Blog
Forums
Plesk University

Follow us:
Facebook Twitter Linkedin Youtube Github

© 2025 WebPros International GmbH. All rights reserved. Plesk and the Plesk logo are trademarks of WebPros International GmbH.

Managed with love with Plesk WP Toolkit