Skip to main content

System PHP-FPM Configuration isn't applied to all domains

Comments

3 comments

  • kdean
    Once a domain has it's own settings in it's .yaml file, the default settings no longer apply. That just applies domains without settings and new domains. You can likely more quickly review the settings for each here: /var/cpanel/userdata//.php-fpm.yaml If you remove the pm_max_children line from these files and rebuild php-fpm they will inherit the default again or you can change the number and rebuild if you don't do the same per domain in WHM. Rebuilding after changes to these files is: /scripts/php_fpm_config --rebuild
    0
  • GoranG
    Removing the line from the yaml files and rebuilding php-fpm works. I wrote a bash script to quickly do it for all domains, and now they all have the same max_children value. Thank you.
    0
  • cPanelLauren
    Thanks @kdean for providing that advice. @GoranG please let us know if you have any further issues or concerns
    0

Please sign in to leave a comment.