Skip to content

Commit

Permalink
mxqd: be a bit more verbose when starting processes to log pids
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed Nov 3, 2015
1 parent 8a1c40d commit 9d57ac3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mxqd.c
Original file line number Diff line number Diff line change
Expand Up @@ -939,6 +939,7 @@ int reaper_process(struct mxq_server *server,struct mxq_group_list *glist, struc
mx_log_err("fork: %m");
return pid;
} else if (pid == 0) {
mx_log_info("starting user process.");
res = user_process(glist, job);
_exit(EX__MAX+1);
}
Expand Down Expand Up @@ -1058,6 +1059,8 @@ unsigned long start_job(struct mxq_group_list *glist)
job->host_pid,
getpgrp());

mx_log_info("starting reaper process.");

res = reaper_process(server, glist, job);
_exit(res<0 ? EX__MAX+1 : 0);
}
Expand Down

0 comments on commit 9d57ac3

Please sign in to comment.