• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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