[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#6660) paged result searches fail to deallocate memory until slapd shutdown
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#6660) paged result searches fail to deallocate memory until slapd shutdown
- From: quanah@zimbra.com
- Date: Tue, 28 Sep 2010 23:10:47 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
--On Tuesday, September 28, 2010 8:04 PM +0200 masarati@aero.polimi.it
wrote:
> Each paged results control request mallocs a small amount of memory on the
> slab which is not explicitly freed. It should not be an issue, since it
> occurs so early in the life of an operation that the slab should never be
> exhausted. In any case, I've committed a fix. Can you test and report,
> please? Thanks, p.
Hi Pierangelo,
I'm testing a build with your patch now. In the meantime, you can see a
callgraph generated from tcmalloc's heap profiling tool at
<http://www.stanford.edu/~quanah/pprof.pdf>. I baselined the graph to
start after the first initial searches have been to load the cache, etc.
So you can see that slapd grew by 14.3GB once I started doing the paged
results searches.
--Quanah
--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration