fpm_conf.c bug with min_spare_servers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PHP-FPM |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Incorrect check for min_spare_servers in php-fpm svn release causes error message and php-fpm exit with error:
Apr 25 23:17:19.363662 [ALERT] [pool samplepool] start_servers(2) must not be less than min_spare_
Apr 25 23:17:19.363690 [ERROR] failed to post process the configuration
When min_spare_servers in configuration is defined to be 1.
Patch:
--- fpm_conf.c 2010-04-25 21:31:15.497572802 +0200
+++ fpm_conf.c.orig 2010-04-25 21:30:21.217569082 +0200
@@ -456,8 +456,8 @@
- } else if (config-
- zlog(ZLOG_STUFF, ZLOG_ALERT, "[pool %s] start_servers(%d) must not be less than min_spare_
+ } else if (config-
+ zlog(ZLOG_STUFF, ZLOG_ALERT, "[pool %s] start_servers(%d) must not be less than min_spare_
}
Changed in php-fpm: | |
status: | New → Incomplete |
Report this on php.net - that is where the SVN/PHP core version bugs will be tracked now.