Edit report at http://bugs.php.net/bug.php?id=51769&edit=1

 ID:                 51769
 Updated by:         fel...@php.net
 Reported by:        lxltiancai at 126 dot com
 Summary:            the problem of fpm_conf.c
-Status:             Feedback
+Status:             Assigned
 Type:               Bug
 Package:            *General Issues
 Operating System:   ubuntu 9.10
 PHP Version:        5.3.2
-Assigned To:        
+Assigned To:        fat
 Block user comment: N



Previous Comments:
------------------------------------------------------------------------
[2010-05-08 11:53:38] ka...@php.net

Hmm I meant try a snapshot from trunk where php-fpm is actively
developed. I belive a similar bug if not the same was just fixed in
trunk today

------------------------------------------------------------------------
[2010-05-08 11:52:45] ka...@php.net

Please try using this snapshot:

  http://snaps.php.net/php6.0-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



------------------------------------------------------------------------
[2010-05-08 04:58:16] lxltiancai at 126 dot com

Description:
------------
when i start php-fpm,i met the fellowing message:

[pool www] start_servers(18) must not be less than min_spare_servers(30)
and not greater than max_spare_servers(30)



but in fact,the value of min_spare_servers is 5;

Test script:
---------------
there is something wrong in line 459-460 of fpm_conf.c

i think the correct code shoule be:





                        } else if (config->pm_start_servers < 
config->pm_min_spare_servers ||
config->pm_start_servers > config->pm_max_spare_servers) {

                                zlog(ZLOG_STUFF, ZLOG_ALERT, "[pool %s] 
start_servers(%d) must not
be less than min_spare_servers(%d) and not greater than
max_spare_servers(%d)", wp->config->name, config->pm_start_servers,
config->pm_min_spare_servers, config->pm_max_spare_servers);



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=51769&edit=1

Reply via email to