Viktor Dukhovni: > if (!NORMAL_EXIT_STATUS(status)) { > + /* Debugged processes may be reported to master(8) as stopped */ > + if (WIFSTOPPED(status)) {
In that case it would be prudent to log what happens: msg_warn("process %s pid %d stopped with signal %d", serv->path, pid, WSTOPSIG(status)); > + continue; } > if (WIFEXITED(status)) > msg_warn("process %s pid %d exit status %d", > serv->path, pid, WEXITSTATUS(status)); If I understand correctly, some buggy kernel reports WIFSTOPPED events to the Postfix master daemon (the smtpd parent process) instead of gdb (the smtpd tracing process). What OS version are you using? Perhaps I can reproce that bug with a small test program. Wietse