Index: [Article Count Order] [Thread]

Date:  Wed, 15 Mar 2006 08:43:19 -0500
From:  "Rusty Waybrant" <rwaybrant (at mark) gramtel.net>
Subject:  [coba-e:04283] Re: Var directory filling up
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <DD071FB8B2C4814A9254B5AF3CC95D840259549F (at mark) exchange2.gramtel.com>
X-Mail-Count: 04283

You can try running this command:

db_checkpoint -1 -h /var/db && db_archive -a -h /var/db | xargs rm -f 

That should remove the logs that are no longer needed... I remember with
the version I was running at the time (FC1+BQ) that I needed to install
a newer pwdb RPM. This issues seems to be resolved in newest BQ and
CentOS. 


Rusty

-----Original Message-----
From: Gavin Nelmes-Crocker [mailto:gavin (at mark) web-hoster.co.uk] 
Sent: Wednesday, March 15, 2006 6:13 AM
To: coba-e (at mark) bluequartz.org
Subject: [coba-e:04282] Var directory filling up

Guys

I'm seeing a problem with the Var directory filling up.

Running Nuonce's excellent BlueQuartz Cd I think version 2 with patches

A little bit of digging there is directory on var called db when I look
in it there are a bunch of log files going back a few months, each log
file is 10b in size needless to say it quickly builds up to now over 2Gb
- causing big problems?  They have a naming format of log.0000000101

What are these files - can I delete the older ones safely? should they
be rotating? do we need to create a script to do a cleanup or is there a
bug somewhere?

Thanks

Gavin