| 740 | } |
| 741 | |
| 742 | static 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 | |
| 760 | static const char *event_get_name(void) |
| 761 | { |
no test coverage detected