[rrd-users] Re: followup on invalid data or spikes

Tobias Oetiker oetiker at ee.ethz.ch
Wed Jan 5 23:19:23 MET 2000


Today you sent me mail regarding [rrd-users] Re: followup on invalid data...:

*> I have been able to shorten it considerably.
*> Here is the new sequence (using csh, or tcsh):
*> 
*> 
*> mon1:~ 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"
*> mon1:~  rrdtool update my.rrd 947097000:0.00:107015782:0:156363:0
*> mon1:~ rrdtool dump my.rrd > db.out
*> mon1:~ rrdtool restore db.out my.rrd
*> mon1:~  rrdtool update my.rrd 947097300:0.01:107015782:0:156363:0
*> mon1:~ rrdtool dump my.rrd > db.out
*> mon1:~ rrdtool restore -r db.out db.xml
*> out of range found [ds: 3], [value : 1.9991590274e+37]

running rrdtool trhough purify I found the first problem in the crate line
already ... it seems that again the notorious parsetime exhibits an error
...

---------------------
./rrdtool create my.rrd -b 946843500 "DS:load:GAUGE:300:0:5000"
"RRA:AVERAGE:0.5:288:91"
****  Purify instrumented ./rrdtool (pid 12175 at Wed Jan  5 23:19:00 2000)
  * Purify 4.1 Solaris 2, Copyright (C) 1992-1997 Rational Software Corp.
All rights reserved. 
  * For contact information type: "purify -help"
  * Command-line: ./rrdtool create my.rrd -b 946843500 \
    DS:load:GAUGE:300:0:5000 RRA:AVERAGE:0.5:288:91 
  * Options settings: -purify -windows=no \
    -purify-home=/usr/pack/purify-4.1-mo/bin-solaris2/../purify-4.1-solaris2 
PureLA: 1 simple license, 2 users.  Please remedy.
  * Purify licensed to ETH Zurich
  * Purify checking enabled.

****  Purify instrumented ./rrdtool (pid 12175)  ****
IPR: Invalid pointer read:
  * This is occurring while in:
        parsetime      [parsetime.c:895]
        rrd_create     [rrd_create.c:64]
        HandleInputLine [rrd_tool.c:179]
        main           [rrd_tool.c:159]
        _start         [crt1.o]
  * Reading 4 bytes from 0x173948 between the heap and the stack.

****  Purify instrumented ./rrdtool (pid 12175)  ****
COR: Fatal core dump:
  * This is occurring while in:
        parsetime      [parsetime.c:895]
        rrd_create     [rrd_create.c:64]
        HandleInputLine [rrd_tool.c:179]
        main           [rrd_tool.c:159]
        _start         [crt1.o]
  * Received signal 11 (SIGSEGV - Segmentation Fault)
  * Faulting address = 0x173948
  * Signal mask: (SIGSEGV) 
  * Pending signals: 
Segmentation fault

---------------------
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-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users



More information about the rrd-users mailing list