Bug #51736 [PATCH]: configuration parsing problem
Edit report at http://bugs.php.net/bug.php?id=51736&edit=1
ID: 51736
Patch added by: fat@php.net
Reported by: mauro dot stettler at gmail dot com
Summary: configuration parsing problem
Status: Assigned
Type: Bug
Package: FPM related
Operating System: suse linux (SLES11)
PHP Version: Irrelevant
Assigned To: fat
New Comment:
The following patch has been added/updated:
Patch Name: bug51736.patch
Revision: 1273306941
URL:
http://bugs.php.net/patch-display.php?bug=51736&patch=bug51736.patch&revision=1273306941
Previous Comments:
------------------------------------------------------------------------
[2010-05-04 09:00:56] mauro dot stettler at gmail dot com
Description:
------------
i tested the revision 298795 of php-fpm and i experienced that the
config value of
min_spare_servers always gets copied into the config value of
max_spare_servers,
which then means that start_servers will also have to be equal to this,
Test script:
---------------
; Sets the number of server processes created on startup.
; Used only with 'dynamic' pm.style
; default : min_spare + (max_spare - min_spare) / 2
;
pm.start_servers = 50
; Sets the desired minimum number of idle server processes.
; Used only with 'dynamic' pm.style
; It's mandatory when pm is set to dynamic
;
pm.min_spare_servers = 10
; Sets the desired maximum number of idle server processes.
; Used only with 'dynamic' pm.style
; It's mandatory when pm is set to dynamic
;
pm.max_spare_servers = 100
Expected result:
----------------
should be able to start php-fpm server
Actual result:
--------------
the result is that on start of php-fpm server, the fpm gives out a
config error if
you use the above pasted configuration
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51736&edit=1
Thread (5 messages)