Hi there, in the following request https://bugs.php.net/bug.php?id=54098, the user ask to lower the FPM pm.max_children configuration item. As pm.* configuration items are very specific to every situation (hardware, code, # parallal requests, ...) there is no default value which suites everyone.
I'd like to remove the default value from the php-fpm.conf file. After that, with the default php-fpm.conf, php-fpm won't start until the sysadmin specify what he wants. If package mainteners want the default conf file to work, they can change it as they like. What do you think ? ++ jerome PS: the very simple patch: Index: sapi/fpm/php-fpm.conf.in =================================================================== --- sapi/fpm/php-fpm.conf.in (revision 312812) +++ sapi/fpm/php-fpm.conf.in (working copy) @@ -148,7 +148,7 @@ ; of 'idle' processes is greater than this ; number then some children will be killed. ; Note: This value is mandatory. -pm = dynamic +;pm = dynamic ; The number of child processes to be created when pm is set to 'static' and the ; maximum number of child processes to be created when pm is set to 'dynamic'. @@ -158,7 +158,7 @@ ; CGI. ; Note: Used when pm is set to either 'static' or 'dynamic' ; Note: This value is mandatory. -pm.max_children = 50 +;pm.max_children = 50 ; The number of child processes created on startup. ; Note: Used only when pm is set to 'dynamic' -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php