Cobra Forum

Plesk Panel => Webserver => Topic started by: Suhitha on Nov 03, 2025, 06:40 AM

Title: Plesk hosted site uses more RAM than expected: too many PHP-FPM child processes
Post by: Suhitha on Nov 03, 2025, 06:40 AM
Question: Plesk hosted site uses more RAM than expected: too many PHP-FPM child processes

Applicable to:


Symptoms


[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


# free -h


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

(https://pix.cobrasoft.org/images/2025/11/03/mceclip1-9.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).