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

Re: Where is DB_CONFIG file?



Echedey Lorenzo <echedey@gmail.com> writes:

> Hi,
>
> I'm new to this mailing list. I have a simple question...  I have deployed a
> huge subscriber ldap database with more than 400 000 entries in a SUSE machine
> installing OpenLDAP with Yast.
>
> I've found huge log files in /var/lib/ldap that I cannot delete. Google says
> that I should tune my DB_CONFIG file to optimize the use of the the Berkeley
> backend, but I don't find this file. Should I create it?

SUSE comes with a default DB_CONFIG in /var/lib/ldap, the log files
are the transaction logs of BerkeleyDB, do not delete these files. If
you want to get rid of some old transaction logs, add to DB_CONFIG
set_flags DB_LOG_AUTOREMOVE

-Dieter

-- 
Dieter Klünter | Systemberatung
http://dkluenter.de
GPG Key ID:8EF7B6C6
53°37'09,95"N
10°08'02,42"E