Lines Matching defs:pid
310 child_exit_log(unsigned int pid, int status)
314 pjdlog_debug(1, "Worker process exited gracefully (pid=%u).",
315 pid);
317 pjdlog_error("Worker process killed (pid=%u, signal=%d).",
318 pid, WTERMSIG(status));
320 pjdlog_error("Worker process exited ungracefully (pid=%u, exitcode=%d).",
321 pid, WIFEXITED(status) ? WEXITSTATUS(status) : -1);
330 pid_t pid;
332 while ((pid = wait3(&status, WNOHANG, NULL)) > 0) {
335 if (pid == res->hr_workerpid)
344 hook_check_one(pid, status);
349 child_exit_log(pid, status);
550 "Another hastd is already running, pidfile: %s, pid: %jd.",
734 pjdlog_info("Terminating worker process (resource=%s, role=%s, pid=%u).",
739 "Unable to send signal to worker process (resource=%s, role=%s, pid=%u).",
755 pid_t pid;
883 "Worker process exists (pid=%u), stopping it.",
888 "Unable to stop worker process (pid=%u)",
896 else if ((pid = waitpid(res->hr_workerpid,
900 "Waiting for worker process (pid=%u) failed",
1259 "Another hastd is already running, pidfile: %s, pid: %jd.",