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

Re: Disk exhausting because of log.0000xxxx files



--On Thursday, September 03, 2009 8:40 AM -0400 Aaron Richton <richton@nbcs.rutgers.edu> wrote:

On Thu, 3 Sep 2009, Olivier Nicole wrote:

Because of a sputid script I wrote that was unduly modifying my LDAP
directory, I endup exhausting my disk space with Berkeley DB log files
of the type log.00000xxxx.

My LDAP uses a database of type bdb, I have the option

   dbconfig set_flags DB_LOG_AUTOREMOVE

and thought it would take care of removing the log files. It seems not
so I must be missing something.

You're probably not checkpointing often enough for your workload. Read
the slapd-bdb man page and/or Admin Guide and/or list archives on the
subject.


It would be good to know the openldap release, as well. I recall with the OpenLDAP 2.1 series for a while checkpoint didn't work, and you had to run the bdb checkpoint binary from cron manually to make sure it was happening.

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration