Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 46749] Ldap cache cleaning is broken when LDAPSharedCacheSize is too small

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

Sep 24, 2009, 6:10 AM

Post #1 of 5 (502 views)
Permalink
[Bug 46749] Ldap cache cleaning is broken when LDAPSharedCacheSize is too small

https://issues.apache.org/bugzilla/show_bug.cgi?id=46749

--- Comment #1 from Justin Johnson <justin [at] honesthacker> 2009-09-24 06:10:16 PDT ---
What version of httpd did this first show up in? I have a Subversion server
running httpd 2.2.11 and Subversion 1.6.4 that does authentication against
Active Directory LDAP. The cache settings are below. As usage increases the
cache hits drop to between 80-90% and when this happens sporadically the time
for Subversion operations to complete can increase up to 100 fold. In my
testing I have isolated this to the use of LDAP authentication and am
suspecting it is some sort of bug in the caching. Could that possibly be
related to this bug?

LDAPSharedCacheSize 200000
LDAPCacheEntries 1024
LDAPCacheTTL 600
LDAPOpCacheEntries 1024
LDAPOpCacheTTL 600

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Sep 24, 2009, 8:53 AM

Post #2 of 5 (474 views)
Permalink
[Bug 46749] Ldap cache cleaning is broken when LDAPSharedCacheSize is too small [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=46749

--- Comment #2 from Stefan Fritsch <sf [at] sfritsch> 2009-09-24 08:53:12 PDT ---
(In reply to comment #1)
I believe the bug was introduced when porting mod_auth_ldap from 1.3 to 2.0. At
least 2.0.63 has the same problem.

> Could that possibly be related to this bug?

Yes. In my experience, LDAPSharedCacheSize 200000 is too small for
LDAPCacheEntries 1024 (of course it depends on the particular mod_authnz_ldap
configuration). Try increasing LDAPSharedCacheSize by a factor of 10 while
leaving the other settings constant and see if that helps.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Sep 24, 2009, 9:28 AM

Post #3 of 5 (488 views)
Permalink
[Bug 46749] Ldap cache cleaning is broken when LDAPSharedCacheSize is too small [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=46749

--- Comment #3 from Justin Johnson <justin [at] honesthacker> 2009-09-24 09:28:28 PDT ---
Thank you for the quick reply! I'm implementing your suggestions and will add
another comment with the results, which will take an hour or so to see.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Sep 24, 2009, 12:47 PM

Post #4 of 5 (473 views)
Permalink
[Bug 46749] Ldap cache cleaning is broken when LDAPSharedCacheSize is too small [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=46749

--- Comment #4 from Justin Johnson <justin [at] honesthacker> 2009-09-24 12:47:04 PDT ---
That resolved it! Woohoo! Thanks for your help Stefan!

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Oct 6, 2009, 12:41 PM

Post #5 of 5 (373 views)
Permalink
[Bug 46749] Ldap cache cleaning is broken when LDAPSharedCacheSize is too small [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=46749

Stefan Fritsch <sf [at] sfritsch> changed:

What |Removed |Added
----------------------------------------------------------------------------
Keywords| |FixedInTrunk

--- Comment #5 from Stefan Fritsch <sf [at] sfritsch> 2009-10-06 12:41:34 PDT ---
Fixed in trunk in r822458

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.