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