Lines Matching refs:status
852 int socket_type, status; in fcgi_spawn_connection() local
1093 switch (waitpid(child, &status, WNOHANG)) { in fcgi_spawn_connection()
1106 if (WIFEXITED(status)) { in fcgi_spawn_connection()
1109 WEXITSTATUS(status), host->bin_path); in fcgi_spawn_connection()
1113 } else if (WIFSIGNALED(status)) { in fcgi_spawn_connection()
1116 WTERMSIG(status)); in fcgi_spawn_connection()
1118 if (WTERMSIG(status) == 11) { in fcgi_spawn_connection()
1127 status); in fcgi_spawn_connection()
2708 int status; in fcgi_restart_dead_procs() local
2752 switch(waitpid(proc->pid, &status, WNOHANG)) { in fcgi_restart_dead_procs()
2774 if (WIFEXITED(status)) { in fcgi_restart_dead_procs()
2778 "status:", WEXITSTATUS(status)); in fcgi_restart_dead_procs()
2780 } else if (WIFSIGNALED(status)) { in fcgi_restart_dead_procs()
2783 WTERMSIG(status)); in fcgi_restart_dead_procs()
2787 status); in fcgi_restart_dead_procs()
3269 int status; in fcgi_handle_fdevent() local
3273 switch(waitpid(proc->pid, &status, WNOHANG)) { in fcgi_handle_fdevent()
3281 if (WIFEXITED(status)) { in fcgi_handle_fdevent()
3284 "status:", WEXITSTATUS(status)); in fcgi_handle_fdevent()
3285 } else if (WIFSIGNALED(status)) { in fcgi_handle_fdevent()
3288 WTERMSIG(status)); in fcgi_handle_fdevent()
3292 status); in fcgi_handle_fdevent()
3769 int status; in TRIGGER_FUNC() local
3773 switch (waitpid(proc->pid, &status, WNOHANG)) { in TRIGGER_FUNC()
3795 if (WIFEXITED(status)) { in TRIGGER_FUNC()
3799 WEXITSTATUS(status), proc->connection_name); in TRIGGER_FUNC()
3801 } else if (WIFSIGNALED(status)) { in TRIGGER_FUNC()
3802 if (WTERMSIG(status) != SIGTERM) { in TRIGGER_FUNC()
3805 WTERMSIG(status)); in TRIGGER_FUNC()
3810 status); in TRIGGER_FUNC()