OpenLDAP performance issues

Dieter Kluenter dieter at dkluenter.de
Thu May 12 09:16:58 CEST 2005


Martin Konold <martin.konold at erfrakon.de> writes:

> Am Dienstag, 10. Mai 2005 21:39 schrieb Dieter Kluenter:
>
> Hi Dieter,
>
>> OK, I started with msg4273, which is most likely due to lacking
>> DB_CONFIG, insufficient idlecachesize and cachesize, probabely missing
>> indexed attributes as well.
>
> I can imagine how these suboptimal config options can hurt the performance but 
> I fail to see why OpenLDAP or the db is hanging under high load with these 
> settings.

Running out of i/o's and small thread pool are some possible reasons. See
options sockbuf and threads in slapd.conf(5)


> To me this definitly looks like a bug in OpenLDAP or the underlying db!
>
>> msg4536
>> I have seen this with a corrupted database after a uncleen
>> shutdown. So the database might got orrupted somehow, probabely
>> disabled write synchronization?
>
> How can the write synchronization be disabled?

It is an configurable option in slapd.conf (dbnosync) and DB_CONFIG 
set_flags DB_TXN_NOSYNC.

-Dieter

-- 
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:01443B53




More information about the users mailing list