• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

PHP-FPM main configuration files

jstech1

New Pleskian
Hello,

I'm using Plesk version 12.0.18 on Ubuntu 14.04.2 LTS and I'm trying to configure a server to keep stable a very high load on traffic website using Nginx and PHP-FPM but I cant seem to find the main configuration file for the PHP-FPM. One that will change all the configs for it. (pm.max_children = ,
pm.max_requests = , etc.)
I'd appreciate any suggestions for which changes I should perform to keep the server stable with ~1000 connections at a time.

Thanks,

Jason.

P.S. I'm quite new at this.
 
Hello,

Thanks for the answer. I have a folder /etc/php5/fpm/pool.d/ and then inside it I have those: www.conf and domain.tld.conf .

Which of those two are the default php-fpm configuration? Will modifying www.conf gonna erase the domain.tld.conf configuration?

I don't have the /etc/php-fpm.d/.

Thanks,

Jason.
 
I have Plesk 12.5 on CentOS 6.6
So, file /etc/php-fpm.d/www.conf is not used. My mistake, sorry.
When you enable php-fpm for domain, main config is /etc/php-fpm.d/domain.com.conf where you can manually edit pm.max_children, pm.max_requests. It will not be overwritten by Plesk. We will add possibility for management for these parameters in GUI in the next Plesk versions.
 
I have all my configuration in /etc/php5/fpm/pool.d/www.conf .

So, it will be overwritten by /etc/php5/fpm/pool.d/domain.tld.conf? I have very few settings in domain.tld.conf (like max_requests and childs). All the other parameters will be taken from www.conf?

Thanks a bunch,

Jason.
 
As far as I remember scenario described by me above can be achieved only in latest Plesk 12.5
You can't modify mentioned parameters in Plesk 12.0 because they will be overwritten by Plesk.
 
Back
Top