[rrd-users] rrd_restore memory consumption (Re: rrdtool backed mrtg using massive amounts of memory)

Carson Gaspar carson at taltos.org
Wed May 20 17:57:34 CEST 2009


Tobias Oetiker wrote:
> Hi Carson,
> 
> the problem is, that in 1.3 we are using libxml to read in the
> complete file. The same happens in 1.2, but there we use our own
> code todo it ...
> 
> In order to fix this behaviour, I have to rewrite rrd_restore
> entirely to use an incremental parsing aproach (xmlread) ...
> 
> for now, your best bet with large rrd files is to use 1.2

Is it possible to at least fix the error handling to fail gracefully and 
not spew thousands of lines of errors? Or is that embedded in libxml and 
not fixable by rrdtool?

-- 
Carson



More information about the rrd-users mailing list