/PHP-5.4/sapi/fpm/fpm/ |
H A D | fpm_scoreboard.c | 78 if (!scoreboard) { in fpm_scoreboard_update() 81 if (!scoreboard) { in fpm_scoreboard_update() 102 if (scoreboard->lq > scoreboard->lq_max) { in fpm_scoreboard_update() 103 scoreboard->lq_max = scoreboard->lq; in fpm_scoreboard_update() 142 if (scoreboard->active > scoreboard->active_max) { in fpm_scoreboard_update() 143 scoreboard->active_max = scoreboard->active; in fpm_scoreboard_update() 158 if (!scoreboard) { in fpm_scoreboard_proc_get() 162 if (!scoreboard) { in fpm_scoreboard_proc_get() 182 s = scoreboard ? scoreboard : fpm_scoreboard; in fpm_scoreboard_acquire() 289 if (scoreboard->free_proc >= 0 && scoreboard->free_proc < scoreboard->nprocs) { in fpm_scoreboard_proc_alloc() [all …]
|
H A D | fpm_scoreboard.h | 74 … requests, int max_children_reached, int slow_rq, int action, struct fpm_scoreboard_s *scoreboard); 76 struct fpm_scoreboard_proc_s *fpm_scoreboard_proc_get(struct fpm_scoreboard_s *scoreboard, int chil… 78 struct fpm_scoreboard_s *fpm_scoreboard_acquire(struct fpm_scoreboard_s *scoreboard, int nohang); 79 void fpm_scoreboard_release(struct fpm_scoreboard_s *scoreboard); 80 struct fpm_scoreboard_proc_s *fpm_scoreboard_proc_acquire(struct fpm_scoreboard_s *scoreboard, int … 83 void fpm_scoreboard_free(struct fpm_scoreboard_s *scoreboard); 85 void fpm_scoreboard_child_use(struct fpm_scoreboard_s *scoreboard, int child_index, pid_t pid); 87 void fpm_scoreboard_proc_free(struct fpm_scoreboard_s *scoreboard, int child_index); 88 int fpm_scoreboard_proc_alloc(struct fpm_scoreboard_s *scoreboard, int *child_index);
|
H A D | fpm_status.c | 108 if (scoreboard.idle < 0 || scoreboard.active < 0) { in fpm_status_handle_request() 360 scoreboard.pool, in fpm_status_handle_request() 361 PM2STR(scoreboard.pm), in fpm_status_handle_request() 364 scoreboard.requests, in fpm_status_handle_request() 366 scoreboard.lq, in fpm_status_handle_request() 367 scoreboard.lq_max, in fpm_status_handle_request() 368 scoreboard.lq_len, in fpm_status_handle_request() 370 scoreboard.idle, in fpm_status_handle_request() 371 scoreboard.active, in fpm_status_handle_request() 372 scoreboard.idle + scoreboard.active, in fpm_status_handle_request() [all …]
|
H A D | fpm_systemd.c | 23 if (wp->scoreboard) { in fpm_systemd() 24 active += wp->scoreboard->active; in fpm_systemd() 25 idle += wp->scoreboard->idle; in fpm_systemd() 26 requests += wp->scoreboard->requests; in fpm_systemd() 27 slow_req += wp->scoreboard->slow_rq; in fpm_systemd()
|
H A D | fpm_log.c | 105 struct fpm_scoreboard_s *scoreboard; in fpm_log_write() local 127 scoreboard = fpm_scoreboard_get(); in fpm_log_write() 128 if (!scoreboard) { in fpm_log_write() 134 …_WARNING, "[pool %s] Unable to acquire shm slot while preparing the access log", scoreboard->pool); in fpm_log_write() 286 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", scoreboard->pool[0] ? scoreboard->pool : "-"); in fpm_log_write()
|
H A D | fpm_children.c | 242 fpm_scoreboard_proc_free(wp->scoreboard, child->scoreboard_i); in fpm_children_bury() 320 if (0 > fpm_scoreboard_proc_alloc(wp->scoreboard, &c->scoreboard_i)) { in fpm_resources_prepare() 332 fpm_scoreboard_proc_free(child->wp->scoreboard, child->scoreboard_i); in fpm_resources_discard() 345 fpm_scoreboard_free(wp->scoreboard); in fpm_child_resources_use() 348 fpm_scoreboard_child_use(child->wp->scoreboard, child->scoreboard_i, getpid()); in fpm_child_resources_use()
|
H A D | fpm_worker_pool.h | 38 struct fpm_scoreboard_s *scoreboard; member
|
H A D | fpm_process_ctl.c | 356 …_scoreboard_update(idle, active, cur_lq, -1, -1, -1, 0, FPM_SCOREBOARD_ACTION_SET, wp->scoreboard); in fpm_pctl_perform_idle_server_maintenance() 391 fpm_scoreboard_update(0, 0, 0, 0, 0, 1, 0, FPM_SCOREBOARD_ACTION_INC, wp->scoreboard); in fpm_pctl_perform_idle_server_maintenance() 410 fpm_scoreboard_update(0, 0, 0, 0, 0, 1, 0, FPM_SCOREBOARD_ACTION_INC, wp->scoreboard); in fpm_pctl_perform_idle_server_maintenance() 514 fpm_scoreboard_update(0, 0, 0, 0, 0, 1, 0, FPM_SCOREBOARD_ACTION_INC, wp->scoreboard); in fpm_pctl_on_socket_accept()
|
H A D | fpm_worker_pool.c | 45 fpm_scoreboard_free(wp->scoreboard); in fpm_worker_pool_cleanup()
|
H A D | fpm_request.c | 234 proc_p = fpm_scoreboard_proc_acquire(child->wp->scoreboard, child->scoreboard_i, 1); in fpm_request_check_timed_out() 292 proc = fpm_scoreboard_proc_get(child->wp->scoreboard, child->scoreboard_i); in fpm_request_is_idle() 307 proc = fpm_scoreboard_proc_get(child->wp->scoreboard, child->scoreboard_i); in fpm_request_last_activity()
|
H A D | fpm_php_trace.c | 141 fpm_scoreboard_update(0, 0, 0, 0, 0, 0, 1, FPM_SCOREBOARD_ACTION_SET, child->wp->scoreboard); in fpm_php_trace()
|
H A D | fpm_sockets.c | 365 …m_scoreboard_update(-1, -1, -1, (int)lq_len, -1, -1, 0, FPM_SCOREBOARD_ACTION_SET, wp->scoreboard); in fpm_sockets_init_main()
|
/PHP-5.4/ |
H A D | NEWS | 3087 . Added a real scoreboard and several improvements to the status page. (fat)
|