tags 566699 + unreproducible thanks Hi Folkert,
On Sun, Jan 24, 2010 at 05:57:20PM +0100, Folkert van Heusden wrote: > On 64 bit (amd64) all it gives are NaN values. > > Test-case: > rrdtool create file.rrd --step 300 \ > DS:values:GAUGE:900:U:U \ > RRA:AVERAGE:0.5:1:2016 \ > RRA:MIN:0.5:1:2016 \ > RRA:MAX:0.5:1:2016 \ > RRA:AVERAGE:0.5:12:744 \ > RRA:MIN:0.5:12:672 \ > RRA:MAX:0.5:12:672 \ > RRA:AVERAGE:0.5:288:730 \ > RRA:MIN:0.5:288:730 \ > RRA:MAX:0.5:288:730 (I've added '--start 1273335161' to that to be able to copy&paste your example updates.) > /usr/bin/rrdtool update file.rrd 1273335162:0.005438 > /usr/bin/rrdtool update file.rrd 1273335462:0.002476 > /usr/bin/rrdtool update file.rrd 1273335762:0.002664 > /usr/bin/rrdtool update file.rrd 1273336062:0.003119 > > If I then dump the file, I only get NaN values. I get the following: % rrdtool dump file.rrd | grep -F '<v>' | grep -v NaN <!-- 2010-05-08 18:20:00 CEST / 1273335600 --> <row><v>2.5624800000e-03</v></row> <!-- 2010-05-08 18:25:00 CEST / 1273335900 --> <row><v>2.8733000000e-03</v></row> <!-- 2010-05-08 18:20:00 CEST / 1273335600 --> <row><v>2.5624800000e-03</v></row> <!-- 2010-05-08 18:25:00 CEST / 1273335900 --> <row><v>2.8733000000e-03</v></row> <!-- 2010-05-08 18:20:00 CEST / 1273335600 --> <row><v>2.5624800000e-03</v></row> <!-- 2010-05-08 18:25:00 CEST / 1273335900 --> <row><v>2.8733000000e-03</v></row> I've tested both 1.3.1-4 (Lenny) and 1.4.3-1~bpo50+1 (backports; same version as in Squeeze and Sid). Could you please verify if that behavior still persists with the current version in Squeeze? I'm not aware of any 64bit related problems and I'm using RRDtool on my amd64 boxes all of the time. 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
signature.asc
Description: Digital signature