Re: [rrd-developers] [rrd] Re: rrdcached dies when journal reaches 2G

2009-07-18 Thread Tobias Oetiker
Hi Kevin, > > I have not looked at the code, but do you only reset the journal on > > flush or when there are no data left in the cache ? This might > > cause a long running copy of cached to generate rather huge an > > unwieldy journals ... > > Currently, the journal is rotated when the flush is

Re: [rrd-developers] [rrd] Re: rrdcached dies when journal reaches 2G

2009-07-17 Thread kevin brintnall
On Fri, Jul 17, 2009 at 10:34:43PM +0200, Tobias Oetiker wrote: > > I've started to implement both options.. The large file support is dead > > simple, whereas the split journal support is much more complicated. There > > are three combinations: > > > > (1) go with large file support > > (1

Re: [rrd-developers] [rrd] Re: rrdcached dies when journal reaches 2G

2009-07-17 Thread Tobias Oetiker
Hi Kevin, > >> For large file support, we need to consider the things that link against > >> librrd. We can either require all dependents (transitively) to enable > >> large file support (bad) or we could remove any functions that use off_t > >> from the public librrd interface. It looks like al

Re: [rrd-developers] [rrd] Re: rrdcached dies when journal reaches 2G

2009-07-17 Thread kevin brintnall
>> For large file support, we need to consider the things that link against >> librrd. We can either require all dependents (transitively) to enable >> large file support (bad) or we could remove any functions that use off_t >> from the public librrd interface. It looks like all such functions ar

Re: [rrd-developers] [rrd] Re: rrdcached dies when journal reaches 2G

2009-07-17 Thread Tobias Oetiker
Yesterday kevin brintnall wrote: > On Wed, Jul 15, 2009 at 08:42:27PM +0200, Tobias Oetiker wrote: > > Hi Kevin > > > > any ideas on how to fix ? large file support or maybe split the > > journal ? > > Interesting... > > On systems that support large file support (but where it is not the > default