[Bug 1418265] [NEW] Memory leak when using pam_ldap in long running processes

Launchpad Bug Tracker 1418265 at bugs.launchpad.net
Thu Feb 5 08:13:03 UTC 2015


You have been subscribed to a public bug:

We're experiencing fairly significant memory leaks when using pam_ldap
when used from nginx.   After some preliminary investigation it seems to
be similar to the redhat issue 660236:

https://bugzilla.redhat.com/show_bug.cgi?id=660236

The symptoms are substantial amounts of memory being leaked per request
when the pam_authenticate call is used.   Working from the assumption
that this is caused by the loss of memory when dlclose is called I
preloaded the pam module by adding the following to /etc/default/nginx

LD_PRELOAD=/lib/x86_64-linux-gnu/security/pam_ldap.so

at that point the leaks stopped immediately.

** Affects: libpam-ldap (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Memory leak when using pam_ldap in long running processes
https://bugs.launchpad.net/bugs/1418265
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libpam-ldap in Ubuntu.



More information about the Ubuntu-server-bugs mailing list