Home
last modified time | relevance | path

Searched refs:scoreboard (Results 1 – 10 of 10) sorted by relevance

/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_scoreboard.c74 if (!scoreboard) { in fpm_scoreboard_update()
98 if (scoreboard->lq > scoreboard->lq_max) { in fpm_scoreboard_update()
99 scoreboard->lq_max = scoreboard->lq; in fpm_scoreboard_update()
144 if (scoreboard->active > scoreboard->active_max) { in fpm_scoreboard_update()
145 scoreboard->active_max = scoreboard->active; in fpm_scoreboard_update()
192 struct fpm_scoreboard_s *scoreboard = wp->scoreboard; in fpm_scoreboard_proc_get_from_child() local
204 s = scoreboard ? scoreboard : fpm_scoreboard; in fpm_scoreboard_acquire()
253 struct fpm_scoreboard_s *scoreboard = wp->scoreboard; in fpm_scoreboard_free() local
283 struct fpm_scoreboard_s *scoreboard = wp->scoreboard; in fpm_scoreboard_proc_free() local
307 struct fpm_scoreboard_s *scoreboard = wp->scoreboard; in fpm_scoreboard_proc_alloc() local
[all …]
H A Dfpm_status.c64 scoreboard = *scoreboard_p; in fpm_status_export_to_zval()
95 add_assoc_long(status, "total-processes", scoreboard.idle + scoreboard.active); in fpm_status_export_to_zval()
204 if (scoreboard.idle < 0 || scoreboard.active < 0) { in fpm_status_handle_request()
457 scoreboard.pool, in fpm_status_handle_request()
461 scoreboard.requests, in fpm_status_handle_request()
463 scoreboard.lq, in fpm_status_handle_request()
464 scoreboard.lq_max, in fpm_status_handle_request()
465 scoreboard.lq_len, in fpm_status_handle_request()
467 scoreboard.idle, in fpm_status_handle_request()
468 scoreboard.active, in fpm_status_handle_request()
[all …]
H A Dfpm_systemd.c23 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 Dfpm_scoreboard.h72 … requests, int max_children_reached, int slow_rq, int action, struct fpm_scoreboard_s *scoreboard);
74 struct fpm_scoreboard_proc_s *fpm_scoreboard_proc_get(struct fpm_scoreboard_s *scoreboard, int chil…
77 struct fpm_scoreboard_s *fpm_scoreboard_acquire(struct fpm_scoreboard_s *scoreboard, int nohang);
78 void fpm_scoreboard_release(struct fpm_scoreboard_s *scoreboard);
79 struct fpm_scoreboard_proc_s *fpm_scoreboard_proc_acquire(struct fpm_scoreboard_s *scoreboard, int …
H A Dfpm_log.c105 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 Dfpm_worker_pool.h36 struct fpm_scoreboard_s *scoreboard; member
H A Dfpm_process_ctl.c355 …_scoreboard_update(idle, active, cur_lq, -1, -1, -1, 0, FPM_SCOREBOARD_ACTION_SET, wp->scoreboard); in fpm_pctl_perform_idle_server_maintenance()
390 fpm_scoreboard_update(0, 0, 0, 0, 0, 1, 0, FPM_SCOREBOARD_ACTION_INC, wp->scoreboard); in fpm_pctl_perform_idle_server_maintenance()
409 fpm_scoreboard_update(0, 0, 0, 0, 0, 1, 0, FPM_SCOREBOARD_ACTION_INC, wp->scoreboard); in fpm_pctl_perform_idle_server_maintenance()
513 fpm_scoreboard_update(0, 0, 0, 0, 0, 1, 0, FPM_SCOREBOARD_ACTION_INC, wp->scoreboard); in fpm_pctl_on_socket_accept()
H A Dfpm_php_trace.c197 fpm_scoreboard_update(0, 0, 0, 0, 0, 0, 1, FPM_SCOREBOARD_ACTION_INC, child->wp->scoreboard); in fpm_php_trace()
H A Dfpm_request.c230 proc_p = fpm_scoreboard_proc_acquire(child->wp->scoreboard, child->scoreboard_i, 1); in fpm_request_check_timed_out()
H A Dfpm_sockets.c449 …m_scoreboard_update(-1, -1, -1, (int)lq_len, -1, -1, 0, FPM_SCOREBOARD_ACTION_SET, wp->scoreboard); in fpm_sockets_init_main()

Completed in 19 milliseconds