Bug #51736 [Asn->Csd]: configuration parsing problem
| From: | fat@php.net | Date: | Sat, 08 May 2010 08:56:36 +0000 |
| Subject: | Bug #51736 [Asn->Csd]: configuration parsing problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-150267@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51736&edit=1
ID: 51736
Updated by: fat@php.net
Reported by: mauro dot stettler at gmail dot com
Summary: configuration parsing problem
-Status: Assigned
+Status: Closed
Type: Bug
Package: FPM related
Operating System: suse linux (SLES11)
PHP Version: Irrelevant
Assigned To: fat
New Comment:
fixed in revision 299141
Previous Comments:
------------------------------------------------------------------------
[2010-05-08 10:54:03] fat@php.net
This bug has been corrected on revision 299141.
------------------------------------------------------------------------
[2010-05-08 10:52:34] fat@php.net
Automatic comment from SVN on behalf of fat
Revision: http://svn.php.net/viewvc/?view=revision&revision=299141
Log: Fix #51736, wrong checks on dynamic parameters
------------------------------------------------------------------------
[2010-05-08 10:23:25] fat@php.net
Can you please try the attached patch to confirm it fixes the bug ?
Thx
++ Jerome
------------------------------------------------------------------------
[2010-05-08 10:22:21] fat@php.net
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
------------------------------------------------------------------------
[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