[rrd-users] rrd_restore memory consumption (Re: rrdtool backed mrtg using massive amounts of memory)
tobi at oetiker.ch
Thu May 21 01:10:53 CEST 2009
Yesterday Carson Gaspar wrote:
> 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?
well the errors come from libxml as fahr as I can see ... in any
event, I have already started coding the new version ...
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the rrd-users