[rrd-users] Adding new data source - malloc failure

Wes wespvp at msg.bt.com
Mon Jul 16 06:29:48 CEST 2007


On 7/11/07 4:19 AM, "Alex van den Bogaerdt" <alex at ergens.op.het.net> wrote:

> output: "rrdtool fetch" delivers rates.
> input: "GAUGE" means "this is already a rate".
> 
> So, you can create a new database, using GAUGE counter types,
> and a suitable start time, step size and heartbeat. Then read
> the rates you want to keep, combine them into one rrdtool update
> command, and feed it to the new database.  Repeat until done.
> 
> Afterwards, use "rrdtool tune" to modify counter types into what
> you need them to be.

I think I found an easier way.  The DB only has about 6 weeks of production
data.  I moved the rrd to the 64 bit system, shrunk one of the averages way
down, then was able to add my fields using about 2.6 GB memory.  Lastly, I
grew the RRA back up to the original size.

Wes




More information about the rrd-users mailing list