httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40644] - mod_authnz_ldap or mod_ldap does not reuse ldap connexions
Date Tue, 03 Oct 2006 21:21:35 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40644>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40644





------- Additional Comments From jp@dionne.biz  2006-10-03 14:21 -------
The number of connection does not always increase on every http request.  

We use only one openldap server from fedora core 5 : 2.3.19-4 on AMD x86_64

We found one simplest way to make the connections increase gradually:  
- With two different browsers (konqueror and firefox), list the root directory
with two different user credentials.
- Count the number of ldap connections with:  lsof -p $(pgrep httpd | xargs echo
| sed 's/\ /,/g') | grep ldap | grep ESTABLISHED | wc
- keep refreshing the pages of the two browsers.

You will notice the count of connections will increase gradually.  At some point
it will increase by the number of subdirectories with .htaccess.   It will
eventually DOS the ldap server with a large number of subdirectories.   

We also reproduced the bug with an httpd compiled from source with:
./configure --prefix=/opt/apache-2.2.2 --with-ldap --enable-dav --enable-dav-fs
--enable-dav-lock --enable-authnz-ldap --enable-ldap

Our ldap server is on the same ethernet lan.

By the way bug 40639 is a duplicate of this bug, not bug 40640 . 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message