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

Re: eliminating log files

I don't know of a way to prevent it; they are a necessary part of bdb's transaction processing, as far as I know.

You can look at the set_lg_dir directive in DB_CONFIG to put them somewhere else (e.g. another disk that has more room) and the set_lg_max directive to set the maximum size of any one file.

Also the db_archive utility will tell you which ones are no longer involved in an open transaction and can be deleted.

See the Berkeley DB documentation at www.sleepycat.com, and the OpenLDAP FAQ.


On Monday, October 20, 2003, at 04:21 PM, Rohit Dewan wrote:

Logfiles with the name log.00000000001 and so on are created during operation of the directory. How do I prevent this? I can't spare the disk space!