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

Re: lots of big files in bdb directory



On Mon, 16 Feb 2004, Jukka Salmi wrote:

> Hello,
> 
> on a Linux system running OpenLDAP 2.1.23 I noticed the directory which
> I specified in the 'directory' statement of a bdb database containing
> lots of files matching log\.[0-9]{10}, starting with log.0000000001.
> Each of these files is 10MB.
> 
> What are these files for?

Transaction logging. See http://www.openldap.org/faq/data/cache/893.html

> I'd like to delete some of them because I'm
> running out of disk space.

You should be able to remove all files listed by running db_archive in the 
database directory, but if you want to be able to restore to a specific 
point, you should archive them ..

Regards,
Buchan