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

Re: slapd memory leak?

On Mon, Apr 29, 2002 at 05:13:20PM -0400, Zachary Beane wrote:
> I've been testing OpenLDAP 2.0.23 with a benchmarking program that:
>    - opens an LDAP connection
>    - binds as a user
>    - closes the connection
> After testing this by trying to connect several times per second for
> an extended period of time, it seems that the slapd process memory
> usage (as reported by "ps") grows without ever shrinking. Is this
> typical? Will it stop growing eventually? Is there a good way to track
> down the source of the memory usage? Will this behavior require
> periodic restarting of slapd?

After leaving two benchmark processes running overnight, slapd memory
usage seems to have peaked at about 80 megabytes of memory. Is there a
way to relate configuration file or compilation options to the
eventual maximum memory usage?

Zachary Beane - xach@gwi.net