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=23548>. 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=23548 prefork model on solaris 2.6 mod_ldap leaves connections to ldap in close_wait [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[EMAIL PROTECTED] Version|2.0.52 |2.1-HEAD ------- Additional Comments From [EMAIL PROTECTED] 2004-10-19 15:17 ------- I've checked out 2.1-HEAD, I think. That was the first time I've ever checked Apache out of CVS. Not the first time for CVS though by any means so I think I got it right. If I did get it right then the problem appears to be fixed, in a manner of speaking, for LDAPS. The CLOSE_WAITs still appear and still 5 times before anything happens, but the sixth one causes one of the other 5 to get reaped. I'm not sure how, but I know it does because the port number of the speaking client changes. This is similar to the behavior for an unencrypted LDAP session except LDAP only gets one CLOSE_WAIT socket. I've included a netstat -anp dialog for LDAPS below as well as my, mostly original, .htaccess file for generating the errors. The syntax changed quite a bit with the new AuthBasicProvider directive and the "ldap-" prefix for the requires. It took me a while to figure that out, but the gist of the .htaccess file is the same. I haven't checked APACHE_2_0_BRANCH yet, but will try to by the end of my day tomorrow because I'll be out of town for the rest of the week. Please let me know if there is anything more I can do. I may try to check them both on Solaris as well, but my main platform is RedHat AS3. Oh, the seg fault issue appears to be resolved as well in httpd-2.1-HEAD. My .htaccess file (names changed to protect the innocent): ---------------------------------------------------------- AuthType Basic AuthBasicProvider ldap AuthName "AuthLDAP WSS" AuthLDAPURL ldaps://ldapmaster.mtu.edu:636/dc=mtu,dc=edu?uid?sub?(objectclass=posixac count) AuthLDAPBindDN "uid=somedude,ou=somewhere,dc=mtu,dc=edu" AuthLDAPBindPassword secret AuthLDAPGroupAttribute uniquemember require ldap-group cn=My Group,ou=Groups,dc=mtu,dc=edu require ldap-user user1 require ldap-user user2 The netstat -anp dialog Watch the Local Address port numbers. ----------------------- Some CLOSE_WAIT, Some ESTABLISHED ================================= tcp 0 0 192.168.104.4:35889 141.219.70.115:636 ESTABLISHED 13228/httpd tcp 0 0 192.168.104.4:35888 141.219.70.115:636 ESTABLISHED 13230/httpd tcp 1 0 192.168.104.4:35876 141.219.70.115:636 CLOSE_WAIT 13227/httpd tcp 0 0 192.168.104.4:35885 141.219.70.115:636 ESTABLISHED 13235/httpd tcp 1 0 192.168.104.4:35884 141.219.70.115:636 CLOSE_WAIT 13229/httpd ALL CLOSE_WAIT ============== tcp 1 0 192.168.104.4:35889 141.219.70.115:636 CLOSE_WAIT 13228/httpd tcp 1 0 192.168.104.4:35888 141.219.70.115:636 CLOSE_WAIT 13230/httpd tcp 1 0 192.168.104.4:35876 141.219.70.115:636 CLOSE_WAIT 13227/httpd tcp 1 0 192.168.104.4:35885 141.219.70.115:636 CLOSE_WAIT 13235/httpd tcp 1 0 192.168.104.4:35884 141.219.70.115:636 CLOSE_WAIT 13229/httpd New/Reaped Conn after all CLOSE_WAIT ==================================== tcp 1 0 192.168.104.4:35889 141.219.70.115:636 CLOSE_WAIT 13228/httpd tcp 1 0 192.168.104.4:35888 141.219.70.115:636 CLOSE_WAIT 13230/httpd *tcp 0 0 192.168.104.4:35891 141.219.70.115:636 ESTABLISHED 13229/httpd tcp 1 0 192.168.104.4:35876 141.219.70.115:636 CLOSE_WAIT 13227/httpd tcp 1 0 192.168.104.4:35885 141.219.70.115:636 CLOSE_WAIT 13235/httpd * This one reaped 35884. Hope that helps, Todd Piket ([EMAIL PROTECTED]) Analyst/Programmer Distributed Computing Services Michigan Technological University --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
