[rrd-users] memory corruption

This is a discussion on [rrd-users] memory corruption within the RRD Users forums, part of the Networking and Network Related category; Dear folks, I use Cricket. This is the first time I tried COMPUTE ds. The following command created the RRD ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008
Kiss Gabor
 
Posts: n/a
Default [rrd-users] memory corruption

Dear folks,

I use Cricket.
This is the first time I tried COMPUTE ds.
The following command created the RRD file:

rrdtool create /var/lib/cricket//power/klimagepek/fh1.rrd --start 1207237409 --step 300 DS:ds0:GAUGE:600:0:1 DS:ds1:COMPUTE:1,ds0,- RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797

Then I tried to dump it manually:

$ rrdtool dump /var/lib/cricket//power/klimagepek/fh1.rrd
<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
<step> 300 </step> <!-- Seconds -->
<lastupdate> 1207842250 </lastupdate> <!-- 2008-04-10 17:44:10 CEST -->

<ds>
<name> ds0 </name>
<type> GAUGE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> 1.0000000000e+00 </max>

<!-- PDP Status -->
<last_ds> UNKN </last_ds>
<value> 0.0000000000e+00 </value>
<unknown_sec> 210 </unknown_sec>
</ds>

<ds>
<name> ds1 </name>
<type> COMPUTE </type>
*** glibc detected *** realloc(): invalid pointer: 0xbfb01af1 ***
Aborted

1. I don't know if the first command creating database is correct or not.
Please help.

2. I don't know if the database is corrupted or not.
It can be found at URL http://bakacsin.ki.iif.hu/~kissg/tmp/fh1.rrd
Could you analyze it?

3. I guess rrddump should not crash but check file more strictly.
"rrdtool fetch /var/lib/cricket//power/klimagepek/fh1.rrd AVERAGE" works well.

Thanks for any hints.

Gabor

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:38 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0