Graham Leggett wrote: > Ok... worker is threaded? (I don't know my MPM's, been focusing on the > other modules).
Yes, worker is threaded. But I was wrong - it has the same problem as with prefork. I think I was not as brutal the first time I tested with worker; see below. >> Connections accumulate until OpenLDAP runs out of filehandles and bad >> things happen. > > Hmmm... I haven't encountered this behaviour before, I would have > thought that threaded environments would have caused more problems as > the codebase came from the fork v1.3 server. There's one thing that made it fail very dramatically: mod_autoindex and large directories. I aliased in /usr/share/doc on my RedHat system and password-protected it. When viewing that URL, the number of LDAP connections shoots up dramatically. A few views and OpenLDAP runs out of file handles. (Is it authenticating against each entry? why?) My workaround was to set LDAPCacheEntries and LDAPOpCacheEntries to -1. I probably won't have enough people authenticating against it to require the cache for performance. > Overhauling the code is on my lists of things to do once my other > projects have settled down, so no, httpd-ldap has not been forgotten. Cool, good to know. > Regards, > Graham Thanks, Scott
