Posted by mesch on June 27, 2013 at 3:33am
I've been looking into how to best isolate virtual hosts from one another when using nginx with php-fpm (like using suEXEC with Apache). The most common approach I've found is to use a separate php-fpm pool configured for each virtual host, as described here:
http://www.howtoforge.com/php-fpm-nginx-security-in-shared-hosting-envir...
With this approach, is there a way to control the maximum number of children across all pools?
Also, does anyone have an entirely different approach?
Comments
AFAIK
there's no builtin way to control the total number of workers. There's something related though:
; the global number of processes when using dynamic PM within a lot of pools.; Use it with caution.
; Note: A value of 0 indicates no limit
; Default Value: 0
; process.max = 128
from
php-fpm.conf.