Hi,
My setup is:
* RedHat Linux 7.0
* OpenLDAP 2.0.23
* Qmail-1.03
* Qmail-LDAP-patch 1.03-20011001a
* Qmail-LDAP-Control-patch ("latest" as of 01-May-2002: http://qmail.bayour.com/patches_ldap/ (the one that goes with 20011001a)
* daemontools 0.76
* ucspi-tcp 0.88
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.
My question: what in theory can cause qmail-smtpd to fall asleep and never exit? My first guess is that if something goes wrong in the connection to ldap, that this could happen. I wanted to know if anyone knew more than this, though, since I am not familiar enough with the code to diagnose this without help. And, optimistically: how does one fix this problem?
Notes: when the load is very low, this _never_ occurs (system load @~0.50, queuesize @ ~0 on average); the ldap database is using the 'script' extension to grab data dynamically for certain controls; the load generated under heavy email load comes to a noticeable extent from scripts run as ldap 'script' extensions
Thanks,
-EdA
