Welcome! Log In Create A New Profile


Optimal values for process manager

Posted by Fini Decima 
Fini Decima
Optimal values for process manager
January 21, 2014 02:24AM

I have a couple of servers with php5-fpm using up more RAM than I think it
should be. The process manager settings for both servers are below:

pm.max_children = 10

pm.start_servers = 4

pm.min_spare_servers = 2

pm.max_spare_servers = 6

According to the config file, the default value for *pm.start_servers* is *min_spare_servers
+ (max_spare_servers - min_spare_servers) / 2*

But what is the best value for *pm.min_spare_servers* and
*pm.max_spare_servers* on a server with 512 MB of RAM and 1 CPU?



You received this message because you are subscribed to the Google Groups "highload-php-en" group.
To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 89
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready