Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 23937 invoked from network); 18 Nov 2003 22:36:25 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 18 Nov 2003 22:36:25 -0000 Received: (qmail 3889 invoked by uid 500); 18 Nov 2003 22:36:12 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 3666 invoked by uid 500); 18 Nov 2003 22:36:11 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Apache HTTPD Bugs Notification List" Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 3651 invoked from network); 18 Nov 2003 22:36:10 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 18 Nov 2003 22:36:10 -0000 Received: (qmail 6784 invoked by uid 50); 18 Nov 2003 22:36:22 -0000 Date: 18 Nov 2003 22:36:22 -0000 Message-ID: <20031118223622.6783.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: bugs@httpd.apache.org Cc: Subject: DO NOT REPLY [Bug 24801] New: - Apache crashes when distinct users exceeds LDAPCacheEntries X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24801 Apache crashes when distinct users exceeds LDAPCacheEntries Summary: Apache crashes when distinct users exceeds LDAPCacheEntries Product: Apache httpd-2.0 Version: 2.0.47 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: mod_ldap AssignedTo: bugs@httpd.apache.org ReportedBy: jessh@ptc.com The following *is* true with Apache 2.0.47 on Windows. It *may* well be true on other platforms as well -- I've not done sufficient testing to say for certain. Apache crashes when the number of distinct users authenticating against LDAP exceeds the setting used for LDAPCacheEntries. This does not always occur on first exceeding this cache size, but in my experience it will invariably occur after a few occurences of exceeding the cache size. A little debugging strongly suggests that there is an issue with the code which removes old entries from the cache in this case. The workaround is either to use a value of 0 for LDAPCacheEntries, i.e. disable the cache, or use a value that is larger than your user population plus some safety factor. The safety factor is necessary in that it appears to be possible to have more than one entry for a given user in the cache. This appears to occur when one request is using the user entry when another request for authenticating the same user comes in. This issue is masked by bug #24800 and cannot be reached until you work around it. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org