jpr> Elias Manesiotis's CPU sent forth this bytestream: | Has
jpr> anybody compiled and used succesfully sendmail 8.8.5 on SCO
jpr> 3.2v4.2? | Sendmail 8.8.4 and 8.8.5 dont close the
jpr> connection leaving idle proccesses | all over the place. Is
jpr> there a patch for this?
jpr> SCO just released oss443 on its web/ftp servers, and it's on
jpr> CompuServe too. It provides sendmail 8.8.5 (for OSR 5
jpr> systems).
You will note that the question was related to SCO 3.2v4.2 (!)
I have had the same troubles Elias mentions.
There seems to be a bug(?) within v4.2, which causes wait() to hang
while SIGCHLD is blocked. The child of the process which called both
SIG_BLOCK and wait() exits and becomes <defunct>, the father stands within
wait() and waits for the termination of the <defunct> process [?].
As I understand my POSIX book, there is no relation between SIGCHLD and
wait() [?].
Solution: When you comment the blocksignal(SIGCHLD) call within
srvrsmtp.c/function runinchild() then no processes (neither
waiting nor <defunct> are left.
DISCLAIMER: I have no idea which other troubles you may run
into when doing so.
Thomas