[Date Prev][Date Next]
Re: slapd problems under stress
- To: openldap-devel@OpenLDAP.org
- Subject: Re: slapd problems under stress
- From: Christian Lorenz <Christian.Lorenz@suse.de>
- Date: Wed, 05 Jul 2000 16:12:57 +0200
- Organization: SuSE Linux Solutions AG
- References: <email@example.com>
Hi to all,
> These sound like resource exhaustion errors. OpenLDAP
> does not deal with such very well. You need to configure
> the server such that you don't exhaust resources. Given
> the test you are doing, you likely are exhausting process
> space or stack space or heap space.
Ok, just to give you a status of our problems:
After fixing a few (!) memory leaks (two in our own back-ends,
one in slapd (ava.c -- see ITS #614) and another one in the
'recode' library (stable-v3.5), our slapd now answers up to
a few million requests without any crashes or hangs. I currently
limited the number of threads for our testing to 10.
The memory consumption of slapd seems no longer to grow (even
if YAMD still reports memory leaks -- YAMD seems to have
trouble profiling slapd, maybe because of the multi-threading).
So, that doesn't look bad :-)
> >Are there any known problems? Is it possible to set a limit
> >on the number of concurrent threads?
> We don't have knobs (yet) to control this.
If I understood Mark right, there will be knobs in the near
Christian.Lorenz@suse.de SuSE Linux Solutions AG
Phone: +49 6196 50951-34 Geschäftsstelle Rhein-Main
Fax: +49 6196 409607 Mergenthalerallee 45-47
http://www.suse.de D-65760 Eschborn