You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2015/09/04 21:28:46 UTC

[Bug 58330] New: LDAPConnectionPoolTTL not honored

https://bz.apache.org/bugzilla/show_bug.cgi?id=58330

            Bug ID: 58330
           Summary: LDAPConnectionPoolTTL not honored
           Product: Apache httpd-2
           Version: 2.4.16
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_ldap
          Assignee: bugs@httpd.apache.org
          Reporter: aswope@clearc2.com

Using a windows build.

As reported elsewhere, windows closes an LDAP connection after 900 seconds, but
the default Apache behavior appears to try to re-use the connection
indefinitely.  If Apache tries to re-use after windows has closed the
connection, there's a 60 second delay waiting for the connection to timeout,
then the following is logged:

[ldap:info] [pid 10276:tid 1020] [client 127.0.0.1:53861] AH01284:
ldap_simple_bind() timed out on reused connection, dropped by firewall?

Setting LDAPConnectionPoolTTL to something less than 900 should alleviate this
issue, but regardless of this setting, after the windows connection is
released, the above error occurs.  

Setting LDAPConnectionPoolTTL 0 seems to have no effect either.

This seems related to 54587, but needs addressed in 2.4 if at all possible.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 58330] LDAPConnectionPoolTTL not honored

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58330

aswope@clearc2.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
                 CC|                            |aswope@clearc2.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 58330] LDAPConnectionPoolTTL not honored

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58330

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Eric Covener <co...@gmail.com> ---
can you provide trace8 logging w/ the TTL set to something conservative?

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 58330] LDAPConnectionPoolTTL not honored

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58330

aswope@clearc2.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEEDINFO                    |RESOLVED

--- Comment #2 from aswope@clearc2.com ---
I believe this to be a config error.  When tracing, I realized the
configurations settings were not being used, which led to a closer inspection
of the <ifmodule> tag.  The module being tested was "mod_ldap" rather than
"ldap_module".

It appears after changing the ifmodule directive, LDAPConnectionPoolTTL is
being honored.  I will re-open should this prove otherwise.

Sorry for the trouble, and thanks for the fast response!

-- 
You are receiving this mail because:
You are the assignee for the bug.

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