Bug #51769 [Fbk->Asn]: the problem of fpm_conf.c
| From: | felipe@php.net | Date: | Sun, 08 Aug 2010 23:13:33 +0000 |
| Subject: | Bug #51769 [Fbk->Asn]: the problem of fpm_conf.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-153254@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51769&edit=1
ID: 51769
Updated by: felipe@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] kalle@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] kalle@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