PHP-FPM Calculator
The most common PHP-FPM misconfiguration is pm.max_children set from a guess rather than actual available memory. This works it out properly and gives you a ready-to-paste pool config block.
Available memory for PHP-FPM
Recommended pm.max_children
Config block for your pool file
This is per PHP-FPM pool. If you run multiple pools (e.g. one per
site) on the same server, divide available memory across them
before running this calculation for each.
Fill in the form and press Calculate.