• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Default domain PHP-FPM.d CONF file settings

Status
Not open for further replies.

VinnyT

Regular Pleskian
Does anyone know the name or location of the file which generates the PHP-FPM config files locates at /etc/php-fpm.d/domain.conf ? The setting is EXTREMELY low and is regularly causing errors. I have to manually change this but every time the domain regenerates it wipes the settings. I would like to globally change some of the settings if possible.

thanks
 
There isn't special default template for these setting. They are hardcoded in phpinimng.
What exactly do you want to modify there?
 
There isn't special default template for these setting. They are hardcoded in phpinimng.
What exactly do you want to modify there?

I often see this message: WARNING: [pool domain.com] server reached max_children setting (5), consider raising it

For sites with more traffic, I usually set this number to 30 or 50. Also, the timeout setting is too high.

pm.max_children = 50
pm.process_idle_timeout = 2s
 
We will add possibility for modification of these settings in one of next Plesk updates.
Now you can modify them in phpinimng manually (it is written on Python). But note that phpinimng will be overwritten with next Plesk update.
 
Status
Not open for further replies.
Back
Top