Title: FW: qmail-smtpd: sleeping and never dying or exiting

> From: Dan Melomedman [mailto:[EMAIL PROTECTED]]
> Ed Abrams writes:
>> Under some load (using postal-0.60), I get the result that qmail-smtpd
>> processes fall asleep and never die, and never quit, eventually over time
>> sucking up all of my "concurrency".  'kill' succeeds in removing these
>> processes.
>
>This could be because qmail-smtpd is blocked by either your LDAP server or
>your logging program. If you're using a logging program like 'multilog', try
>running without it to see if they still hang.
>
>Does the control patch use a timeout for LDAP searches?

I could find no configurable timeout setting for the ldap connection (Makefile, and in controls.c where there is the ldap connection, amusingly marked 'XXX UGLY HACK').  What I ended up doing is disabling the option to use the LDAP Controls in the Makefile, remade, and then things worked grand (after I ported the data from the LDAP DB to the controls/* files).

I'm still surprised that the LDAP connection hanging could cause an immortal qmail-smtpd process.  Timeout should eventually happen regardless, but I don't know.

-EdA

Reply via email to