Articles & Code Snippets

PHP-FPM Limit Tuning Basics for Max Children

This resource provides information about tuning the Max Children limit for PHP FPM.

Checking the PHP-FPM Logs for Max Children Limit Hits

  1. Access your server as the root user via Terminal or SSH
  2. Run the following command to find the FPM logs:
    find /opt/cpanel/ea-php*/root/usr/var/log/php-fpm/ -type f -name error.log
  3. Run the following command on the log corresponding to the version of PHP your domain is using. PHP 8 is used in this example:
    grep max_children /opt/cpanel/ea-php8X/root/usr/var/log/php-fpm/error.log
* Replace X with your PHP version web