Hello,
I'm use an Openldap 2.3.11 withe SuSE (Novell) Linux ES 9.1.
The backend is a the Berkley Database (Sleepycat) 4.3.
The LDBM have'nt enough Performance - to much Datas.
Now I have a problem with the BDB. The BDB write to many transaction
logfiles (log.xxxxxxxxxx).
An delete operation of the logfiles is'nt good, I should use the
Berkley Tools to delete old logfiles.
But the Berkleytools are functionally only when the Openldap is
stopped. But I can't stop the Openldap in the Production.
Therefor I have build an DB_CONFIG:
set_cachesize 0 10485760 0
set_lg_bsize 2097512
set_lg_dir /home/LDAP/openldap_app/ main/db_logs
set_flags DB_LOG_AUTOREMOVE
The Flag DB_LOG_AUTOREMOVE should remove the old unused logfiles. But
no logfiles become deleted - every logfiles exist for all time.
The logfiles are written in the set_lg_dir directory from the DB_CONFIG
file - this is for me an evidence that the Backend used the DB_CONFIG
file.
On some Days I'm write so much Datas that the Backend produces 4 GB
logfiles in 24 hours - that's to much - I have only an 5 GB HDD.
And when the file system is full than stopped my application -
isn't good.
What can I do that no or not so much logfiles are written?
The Help is urgent, and I'm very appreciative for any help.
I havn't found an answer for my problem in the Sleepycat
Dokumentation or on sites in the internet .
Thank you very much
Frank
P.s.: Sorry form a bad English