MCPcopy Create free account
hub / github.com/apache/httpd / event_note_child_started

Function event_note_child_started

server/mpm/event/event.c:742–758  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

740}
741
742static void event_note_child_started(int slot, pid_t pid)
743{
744 ap_generation_t gen = retained->mpm->my_generation;
745
746 retained->total_daemons++;
747 retained->active_daemons++;
748 ap_scoreboard_image->parent[slot].pid = pid;
749 ap_scoreboard_image->parent[slot].generation = gen;
750 ap_run_child_status(ap_server_conf, pid, gen, slot, MPM_CHILD_STARTED);
751 ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, ap_server_conf,
752 "Child %d started: pid %d, gen %d, "
753 "active %d/%d, total %d/%d/%d",
754 slot, (int)pid, (int)gen,
755 retained->active_daemons, active_daemons_limit,
756 retained->total_daemons, retained->max_daemon_used,
757 server_limit);
758}
759
760static const char *event_get_name(void)
761{

Callers 1

make_childFunction · 0.85

Calls 1

ap_log_errorFunction · 0.50

Tested by

no test coverage detected