[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#6330) slapd memory leak



> We have observed what we believe to be a memory leak in OpenLDAP 2.4.18 in
> testing
> while dynlist support.  We have a script that randomly expands the member
> lists
>
> of groups defined using dynlist.  Running this script for a period of
> about 24
> hours forces the slapd process to swap.
>
> It is not clear at all that dynlist is the problem because we were not
> able to
> see the problem with our test script until we surrounded each query with a
> bind/unbind.  (At least we didn't wait long enough to see it.)  All
> queries
> perform GSSAPI binds to the directory.  The problem is unaffected by using
> either the MIT or Heimdal GSSAPI libraries.
>
> Our build of OpenLDAP 2.4.18 follows the debian configuration with the
> exceptions:
>   * Patch for ITS6287
>   * Patch for ITS6308
>   * Patch to the index slots
>   * disable support for tcp_wrappers and disable rlookups
>
> The details of software versions, build options, slapd configuration,
> scripts,
> db_stat output and testing procedures are at
> http://www.stanford.edu/~whm/files/slapd/readme.html.

Apparently, accessing that URL requires a valid account.  In any case, you
should run slapd under valgrind for a while, in order to locate the leak.

p.