From:             
Operating system: suse linux (SLES11)
PHP version:      Irrelevant
Package:          FPM related
Bug Type:         Bug
Bug description:configuration parsing problem

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 bug report at http://bugs.php.net/bug.php?id=51736&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=51736&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=51736&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=51736&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=51736&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=51736&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=51736&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=51736&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=51736&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=51736&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=51736&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=51736&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=51736&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=51736&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=51736&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=51736&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=51736&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=51736&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=51736&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=51736&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=51736&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=51736&r=mysqlcfg

Reply via email to