Koozali.org: home of the SME Server

qmail pain - defunct processes

Anonymous

qmail pain - defunct processes
« on: June 28, 2004, 05:08:11 AM »
Hi all,

My problem may be qmail specific so I'll post my question over with those guys also.  I recently upgraded to SME 6.0.1-01 after running 5.6 for about 2 years.  The upgrade process went very smoothly (very impressive) but now I have a very frustrating problem with qmail.

The symptom is lots of defunct qmail-local and qmail-remote processes.  The spawn processes seem not to notice when their children terminate and once they have too many children (10 or 20) they wont start anymore.  No email is sent from this point onwards.

The frustrating part is that as soon as I strace qmail-lspawn and qmail-rspawn they start working perfectly.  They are now being permanently strace'd to keep my users happy... but I don't think this is a good solution!

I suspected a problem with wait_pid.c:wait_pid() and rebuilt it to make sure that HASWAITPID was defined.  Didn't help :(

As mentioned I'm running SME 6.0.1-01.  So using the SMP kernel 2.4.20-18.7smp on a dual 500 Mhz PIII Dell.  I've also tried the non-SMP kernel.

Just wondering if anyone else has come across a similar problem.