Re: log files not cleaned up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gerhard de Jager wrote:
Hi.

We are running Fedora Directory server v. 7.1

It has about 24 million records in the directory, and runs fine for
about a week.

Then suddenly the log files written to <fedore-dir>/slapd/db/ are not
removed.

Those are berkeley database transaction logfiles. They are the first entry point for new records, and are flushed (fifo) into the userRoot db indexes when the ns-slapd transactions slow down enough. With your size of database, and I'm guessing that it's not mostly static yet, you likely need to do some fine tuning to your transaction logging.


They start to build up, and are not deleted.

This probably means that you are continuously adding, modifying, or deleting entries, and they don't have time to commit to the userRoot db files.


More log fiels aer added (example log.0000011701, log.0000011702 etc).

This is normal.


Does anybody know what can be done and if those files can be removed, or
is there a command that can be run to make fedora-ds process those
files?

You should check the following docs:

"Configuring Transaction Logs for Frequent Database Updates"

http://www.redhat.com/docs/manuals/dir-server/ag/7.1/entry_dist.html#34668


"Tuning Transaction Logging"
"Changing the Database Checkpoint Interval"
"Specifying Transaction Batching"

http://www.redhat.com/docs/manuals/dir-server/ag/7.1/dsmanage.html#1066324


BR,
--
mike

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux