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

Re: Consumer bdb log explosion

Thank you Aaron and Quanah,
At Quanah's recommendation, I added the DB_CONFIG flag to auto-remove inactive files.
Essentially the ldap-hot-db-backup runs the db_archieve utility hourly!
The archive utility is supposed to backup transaction logs to a different file-system and delete the inactive files.
Hopefully this config change will reduce the excessive number of transaction logs and solve our problems.

The database is backed up every night using slapcat, and I can also recover from the backup directory.

I guess what I don't understand is why the transaction logs occasionally build up so fast.  I don't have these problems on the provider (master).
We've had these problems off and on since we went to syncrpl last summer.

Thanks for your comments.
----- Original Message -----
From: "Aaron Richton"
Subject: Re: Consumer bdb log explosion

On Tue, 4 May 2010, Mark.Hendricks wrote:

> We are running slapd 2.3.43 (Using bdb db4-4.3.29-10.el5) with one provider and two consumers and syncrpl (kerberos/SASL based).
> Occasionally when heavy changes to the provider are made, the consumer bdb logs go crazy and fill up the bdb volume.

Remove unnecessary log files prior to volume fill, hopefully in
conjunction with a sane backup procedure (I don't know what
ldap-hot-backup is, but hopefully it eventually calls slapcat(8) and that
output gets put somewhere safe). I assume "10MB file per second" refers to
transaction log file size, which sounds like sufficient granularity to
remove in a timely fashion in most installations.


Mark Hendricks
Information Security Analyst
Information Technology Services
Humboldt State University