- Plesk for Linux
How to apply PHP-FPM pool setting
pm.max_children for all domains?
Note: the functionality to configure global PHP FPM settings on a server-wide level is not implemented in Plesk.
Take part in our product improvement and vote for this feature on Plesk UserVoice.
The top-ranked suggestions are likely to be included in the next versions of Plesk.
Warning: Increasing of the parameter
pm.max_children for all domains with a lack of the server resources can affect its performance significantly.
Ability to customize the PHP-FPM setting
pm.max_children has been implemented in Plesk Onyx starting from Plesk Onyx 17.5.30 MU#32.
2. Browse to Service Plans > Hosting Plans > service_plan_name > PHP Settings tab, e.g. for the plan named Default Domain:
3. Scroll down and set the required PHP-FPM settings:
4. Click Update & Sync button to apply settings for all the domains assigned to this service plan.
Warning: The PHP-FPM settings adjusted with the script below will not be reflected in Plesk UI and should be applied ONLY if the upgrade is not possible.
Connect to the server using SSH.
Download the script, unpack it and execute:
# wget https://support.plesk.com/hc/en-us/article_attachments/360006734433/update_pm.max_children.tar.gz
# tar -xvzf update_pm.max_children.tar.gz