From: Jérôme Loyet Date: Sat, 8 Oct 2011 19:50:26 +0000 (+0000) Subject: - Fixed bug #55486 (status show BIG processes number) X-Git-Tag: php-5.5.0alpha1~1040 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d546fae7415ece0feaf58da18e65ce3e0bd914d0;p=php - Fixed bug #55486 (status show BIG processes number) --- diff --git a/sapi/fpm/fpm/fpm_process_ctl.c b/sapi/fpm/fpm/fpm_process_ctl.c index 5e7ca5d900..027b566bb2 100644 --- a/sapi/fpm/fpm/fpm_process_ctl.c +++ b/sapi/fpm/fpm/fpm_process_ctl.c @@ -317,7 +317,7 @@ static void fpm_pctl_perform_idle_server_maintenance(struct timeval *now) /* {{{ int idle = 0; int active = 0; int children_to_fork; - unsigned cur_lq; + unsigned cur_lq = 0; if (wp->config == NULL) continue; @@ -352,8 +352,8 @@ static void fpm_pctl_perform_idle_server_maintenance(struct timeval *now) /* {{{ } #endif } - fpm_scoreboard_update(idle, active, cur_lq, -1, -1, -1, FPM_SCOREBOARD_ACTION_SET, wp->scoreboard); } + fpm_scoreboard_update(idle, active, cur_lq, -1, -1, -1, FPM_SCOREBOARD_ACTION_SET, wp->scoreboard); /* the rest is only used by PM_STYLE_DYNAMIC */