[Koha-bugs] [Bug 18615] New: LDAP configuration error causes server resource depletion under Plack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 16 21:23:52 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18615

            Bug ID: 18615
           Summary: LDAP configuration error causes server resource
                    depletion under Plack
 Change sponsored?: ---
           Product: Koha
           Version: 16.11
          Hardware: HP
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Authentication
          Assignee: gmcharlt at gmail.com
          Reporter: helpdesk at neci.edu
        QA Contact: testopia at bugs.koha-community.org
                CC: dpavlin at rot13.org

When running with Plack enabled, it is possible to get KOHA to keep spawning
processes until the hosts's resources are exhausted. The immediate upshot is
that KOHA hangs, the final result is that all other services on the host
eventually stop functioning as well.

Steps to reproduce:
Enable useldapserver and specify an empty search base in the ldapserver
element:
<useldapserver>1</useldapserver>
<ldapserver>
  ...
  <base></base>
  ...
</ldapserver>

Restart koha-plack for the instance.

The plack-error.log file starts filling up with "Compilation failed" errors on
all modules that somehow invoke Auth_with_ldap.pm. The "top" command shows two
active /etc/koha/plack processes owned by the koha-$instance user. Each process
uses ~50% of the available CPU cycles. These processes are replaced
continuously. ps aux | grep apache shows an every increasing number of Apache
instances owned by the same user.

Without Plack, the same configuration problem triggers an error page for KOHA,
but the rest of the services on the host are not affected.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list