[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 61861] New: "double free or corruption" under high load when also used with mod_authn_dbd


            Bug ID: 61861
           Summary: "double free or corruption" under high load when also
                    used with mod_authn_dbd
           Product: Apache httpd-2
           Version: 2.4.29
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_authnz_ldap
          Assignee: bugs@xxxxxxxxxxxxxxxx
          Reporter: airikh@xxxxxxxxx
  Target Milestone: ---

Created attachment 35588
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35588&action=edit
memory errors under high load

Server version: Apache/2.4.29 (Unix)
Server built:   Nov  2 2017 12:15:50
Server's Module Magic Number: 20120211:68
Server loaded:  APR 1.6.3, APR-UTIL 1.6.1
Compiled using: APR 1.6.3, APR-UTIL 1.6.1
Architecture:   64-bit
Server MPM:     event
  threaded:     yes (fixed thread count)
    forked:     yes (variable process count)

OS: RHEL 6.9

We've recently started experimenting with multiple AuthBasicProvider's, namely
ldap and dbd. For the authentication database, we are using a local SQLite3 DB.
The ldap provider is specified first in the list (AuthBasicProvider ldap dbd).

We ran the Apache Benchmark tool (ab) on a different server to check the speed
at high load, using -n1000 and -c1000. The -A option was used to specify either
valid LDAP credentials or valid credentials in the SQLite database.

When valid LDAP credentials are used, there are no bad requests or errors in
the log. When valid credentials in the SQLite database are used, however, there
are sometime failed requests with messages in the error log similar to what is

We should also note that when we just specify the dbd provider
(AuthBasicProvider dbd), we haven't experienced any failed requests or errors
in the log. We only see failed requests and errors when using both providers
(AuthBasicProvider ldap dbd) with valid credentials for the dbd provider.

Please let me know if you require more information than what I've provided.

Thank you for your time and effort!

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx