Searched refs:idle (Results 1 - 7 of 7) sorted by relevance

/PHP_5_6/sapi/fpm/fpm/
H A Dfpm_process_ctl.c317 int idle = 0; local
333 idle++;
356 fpm_scoreboard_update(idle, active, cur_lq, -1, -1, -1, 0, FPM_SCOREBOARD_ACTION_SET, wp->scoreboard);
362 zlog(ZLOG_DEBUG, "[pool %s] currently %d active children, %d spare children", wp->config->name, active, idle);
379 zlog(ZLOG_DEBUG, "[pool %s] currently %d active children, %d spare children, %d running children. Spawning rate %d", wp->config->name, active, idle, wp->running_children, wp->idle_spawn_rate);
381 if (idle > wp->config->pm_max_spare_servers && last_idle_child) {
388 if (idle < wp->config->pm_min_spare_servers) {
400 zlog(ZLOG_WARNING, "[pool %s] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning %d children, there are %d idle, and %d total children", wp->config->name, wp->idle_spawn_rate, idle, wp->running_children);
403 /* compute the number of idle proces
[all...]
H A Dfpm_scoreboard.c76 void fpm_scoreboard_update(int idle, int active, int lq, int lq_len, int requests, int max_children_reached, int slow_rq, int action, struct fpm_scoreboard_s *scoreboard) /* {{{ */ argument
89 if (idle >= 0) {
90 scoreboard->idle = idle;
117 if (scoreboard->idle + idle > 0) {
118 scoreboard->idle += idle;
120 scoreboard->idle = 0;
H A Dfpm_scoreboard.h57 int idle; member in struct:fpm_scoreboard_s
74 void fpm_scoreboard_update(int idle, int active, int lq, int lq_len, int requests, int max_children_reached, int slow_rq, int action, struct fpm_scoreboard_s *scoreboard);
H A Dfpm_status.c108 if (scoreboard.idle < 0 || scoreboard.active < 0) {
156 "<tr><th>idle processes</th><td>%d</td></tr>\n"
228 "<idle-processes>%d</idle-processes>\n"
278 "\"idle processes\":%d,"
328 "idle processes: %d\n"
370 scoreboard.idle,
372 scoreboard.idle + scoreboard.active,
H A Dfpm_status.h14 int idle; member in struct:fpm_status_s
25 void fpm_status_update_activity(struct fpm_shm_s *shm, int idle, int active, int total, unsigned cur_lq, int max_lq, int clear_last_update);
H A Dfpm_systemd.c19 int active=0, idle=0; local
25 idle += wp->scoreboard->idle;
32 zlog(ZLOG_DEBUG, "systemd %s (Processes active:%d, idle:%d, Requests:%lu, slow:%lu, Traffic:%.3greq/sec)",
34 active, idle, requests, slow_req, ((float)requests - last) * 1000.0 / fpm_global_config.systemd_interval);
38 "STATUS=Processes active: %d, idle: %d, Requests: %lu, slow: %lu, Traffic: %.3greq/sec",
40 active, idle, requests, slow_req, ((float)requests - last) * 1000.0 / fpm_global_config.systemd_interval)) {
/PHP_5_6/sapi/litespeed/
H A Dlsapilib.c2596 int idle = 0; local
2612 ( idle > g_prefork_server->m_iMaxIdleChildren ))
2626 ++idle;
2665 fprintf( stderr, "Children tracking is wrong: PID: %d, Cur Childen: %d, count: %d, idle: %d, dying: %d\n", getpid(),
2666 g_prefork_server->m_iCurChildren, count, idle, dying );

Completed in 21 milliseconds