[rrd-developers] RRDCacheD journal cleanup
kevin brintnall
kbrint at rufus.net
Sat Sep 26 16:45:03 CEST 2009
On Sat, Sep 26, 2009 at 02:12:11PM +0200, Sebastian Harl wrote:
> Hi Kevin (and list),
>
> It seems that journal files never get removed. Is that on purpose? If
> so, is there any "best practice" how to cleanup old files? Keeping them
> around would quickly fill up the disk.
Sebastian,
journal_set_remove() is called every config_flush_interval for the
2-generations-old journal set. Journal files older than
2*(config_flush_interval) are removed.
If you bump your syslog up to LOG_DEBUG, you should see the syslog
messages when it's removing files.
--
kevin brintnall =~ /kbrint at rufus.net/
> TIA,
> Sebastian
>
> --
> Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/
>
> Those who would give up Essential Liberty to purchase a little Temporary
> Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
>
More information about the rrd-developers
mailing list