[Pkg-openldap-devel] Bug#519511: Bug#519511: slapd uses too much memory
Antonis Christofides
anthony at itia.ntua.gr
Mon Mar 16 12:17:30 UTC 2009
> Does this happen only with client activity, or does it also happen
> when the server is dormant? If the server is being actively used by
> clients, what's the rate of connects/disconnects?
I made some tests, and it seems that it happens with client activity.
If I run the same ldapsearch command in a loop, slapd memory usage
(as reported by ps) goes up by about 1 byte per command. For example,
I run it 1000 times, resident goes up by about 1000 bytes (sometimes 980
or so); virtual also goes up, sometimes 1400, sometimes 500, sometimes
something in between. (If I don't do such a test, slapd memory usage
can stay the same for a minute or so, probably because client activity
is normally very little.)
I attach my slapd.conf.
I will also take a look into valgrind, never used it.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: slapd.conf
Url: http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20090316/bd95f6a7/attachment.txt
More information about the Pkg-openldap-devel
mailing list