mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-11 03:31:36 +00:00
MINOR: mworker: displays a message when a worker is forked
Displays the PID and the relative PID when we fork a new worker.
This commit is contained in:
parent
91723745c6
commit
5d05db8ce1
@ -2997,6 +2997,7 @@ int main(int argc, char **argv)
|
||||
if (global.mode & MODE_MWORKER) {
|
||||
struct mworker_proc *child;
|
||||
|
||||
qfprintf(stdout, "New worker #%d (%d) forked\n", relative_pid, ret);
|
||||
/* find the right mworker_proc */
|
||||
list_for_each_entry(child, &proc_list, list) {
|
||||
if (child->relative_pid == relative_pid &&
|
||||
|
Loading…
Reference in New Issue
Block a user