[rrd-developers] RRDCacheD journal cleanup

Sebastian Harl sh at tokkee.org
Sat Oct 3 17:24:18 CEST 2009


Hi,

On Sun, Sep 27, 2009 at 10:17:53PM +0200, Sebastian Harl wrote:
> On Sat, Sep 26, 2009 at 09:45:03AM -0500, kevin brintnall wrote:
> > On Sat, Sep 26, 2009 at 02:12:11PM +0200, Sebastian Harl wrote:
> > > 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.
> > 
> > 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.
> 
> IC - thanks. Looks like it does not take care of old files though, i.e.
> files left over from a previous rrdcached process.

FTR: I was wrong about that. The old journal files are added to the
current journal set while they are restored and, thus, they are rotated
and then removed after 2 * config_flush_interval. Sorry for the noise
;-)

Cheers,
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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20091003/1659747f/attachment.pgp 


More information about the rrd-developers mailing list