Memory leak when using pam_ldap in long running processes
Bug #1418265 reported by
Michael Koziarski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libpam-ldap (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
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:/
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=
at that point the leaks stopped immediately.
To post a comment you must log in.
Version information:
$ lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04
$ aptitude show libpam-ldap
Package: libpam-ldap
State: installed
Automatically installed: yes
Multi-Arch: same
Version: 184-8.5ubuntu3