Howdy!
Now that cPanel is defaulting to PHP-FPM enabled for new accounts, this seemed like a good time to ask:
We used to run our WordPress sites with PHP-FPM, but did not see positive results. If we left it with default settings (Max Requests, Process Idle Timeout, Max Children), the sites would barely run—timing out often with barely any traffic. If we increased the settings, the processes would linger for a really long time in the Process Manager, and, as a result, we would see significantly higher memory usage on the server—often to the point of severely negatively impacting performance server-wide.
With our last configuration, we tried to strike a balance with Max Requests, Process Idle Timeout and Max Children at 300, 100, and 200 respectively. But, ultimately, we just turned PHP-FPM off, and have been running suphp. This dealt with the server memory and timeout problems, but the site seems slower than on PHP-FPM.
Our server is a 6 GB, 48 processor Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz VPS. We're running PHP 7.4 and MySQL 5.7.
Any thoughts or advice would be appreciated.
Thanks!
Now that cPanel is defaulting to PHP-FPM enabled for new accounts, this seemed like a good time to ask:
We used to run our WordPress sites with PHP-FPM, but did not see positive results. If we left it with default settings (Max Requests, Process Idle Timeout, Max Children), the sites would barely run—timing out often with barely any traffic. If we increased the settings, the processes would linger for a really long time in the Process Manager, and, as a result, we would see significantly higher memory usage on the server—often to the point of severely negatively impacting performance server-wide.
With our last configuration, we tried to strike a balance with Max Requests, Process Idle Timeout and Max Children at 300, 100, and 200 respectively. But, ultimately, we just turned PHP-FPM off, and have been running suphp. This dealt with the server memory and timeout problems, but the site seems slower than on PHP-FPM.
Our server is a 6 GB, 48 processor Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz VPS. We're running PHP 7.4 and MySQL 5.7.
Any thoughts or advice would be appreciated.
Thanks!