[rrd-developers] Re: followup on invalid data or spikes
Tobias Oetiker
oetiker at ee.ethz.ch
Wed Jan 5 22:49:35 MET 2000
Today you sent me mail regarding [rrd-developers] followup on invalid data...:
*> I am using version 1.0.8 of rrdtool. I am including the data files I
*> used to reproduce this problem. Here is the sequence of shell commands I
*> ran:
*>
*> ./rrdtool create my.rrd -b 946843500 -s 300 "DS:load:GAUGE:300:0:5000" "DS:out_oct:COUNTER:300:0:1250000" "DS:drop_oct:COUNTER:300:0:U" "DS:out_pkts:COUNTER:300:0:25000" "DS:drop_pkts:COUNTER:300:0:U" "RRA:AVERAGE:0.5:1:864" "RRA:AVERAGE:0.5:3:1344" "RRA:AVERAGE:0.5:12:744" "RRA:AVERAGE:0.5:288:91"
*>
*> foreach i ( `cat file1`)
*> rrdtool update my.rrd $i
*> end
*>
*> rrdtool dump my.rrd > db.out
*> rrdtool restore -r db.out my.rrd
*> rrdtool tune my.rrd -a out_oct:1250000 -a out_pkts:25000
*>
*> foreach i ( `cat file2`)
*> rrdtool update my.rrd $i
*> end
*>
*>
*> Now, examine the rrd at this point, and you will find invalid data:
*> rrdtool dump my.rrd > db.out
*> rrdtool restore -r db.out db.xml
*>
*> out of range found [ds: 3], [value : 1.9991590274e+37]
Hi Steve,
I just did the moves you described, but it seems that my solaris box works
differently than your computer ... I will run a further test with purify to
see if there are some memory issues ...
However, it might be interesting to see which update is causing the problem,
so if you could try to work on your 'demo' code and try to remove ans many
things from the code as you can so that you still get the error ...
Fewer data values
Fewer RRAs
Fewer Data Sources
cheers
tobi
--
______ __ _
/_ __/_ / / (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
/ // _ \/ _ \/ / TEL: +41(0)1-6325286 FAX:...1517 ICQ: 10419518
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker
--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-developers
More information about the rrd-developers
mailing list