Big issue with PHP-FPM under php 7.4

VPS - 4core - 8Go
OS type and version Debian 10
Virtualmin version 7.3.1

I installed php 7.4.33 on virtualmin. No particular problems.
I activated FPM with 20 children in Dynamic mode.
There big problem:

  • 6 processes www-data ->Command (/usr/sbin/apache2 -k start) with CPU > 50% each and permanently
  • 20 php-fpm processes: pool 16xxxxxxxxxx
  • load average : 122
  • Website is slow for 5 to 8 page views per minute
  • Page load time 10 seconds to 15 seconds
    I don’t know why there are 6 www-data processes when the RAM memory is only used at 50%.
    How do I know if the 4 cores are well balanced and manage the resources?

Thank you for your insights …

Complements :
Mysql: 454 MiB
www-data : 300 MiB x 6 = 1,8 GiB (global)
Php-PFM:pool 16xxxxxxx : 1,5 GiB (global)

Translated with DeepL

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.