[rrd-users] Huge memory usage of rrdtool

Tobias Oetiker tobi at oetiker.ch
Tue Apr 20 13:02:14 CEST 2010


Hi Masahiko,

Today Masahiko KIMOTO wrote:

> Hello,
>
> We've used rrdtool command in pipe mode from ruby script.
> After a mounth, rrdtool process used a huge memory, approximately 400MB.
>
> Keeping pipe, the following procedures run repeatedly,
>  - update data / sec
>  - generate graph / min
>
> As we tested, updating data does not cause memory increasing, but
> generate graph causes memory inflation.
>
> Here's a question.
> Is our usage, keeping a pipe and generating many graphs repeatedly,
> out of design of RRDtool?
>
> Just I want to clarify if our implementation is theoretically wrong.


your implementation is fine ... you may want to make sure you are
using both the latest rrdtool s well as latest
cairo/pango/fontconfig/freetype

I know that I did fix some memory leaks in rrdtool in recent months
...

cheers
tobi
>
> Best Regards,
>
> ----------------------------------------------------------------------
> Masahiko KIMOTO, Ph. D.
> E-mail: kimoto at ohnolab.org        URL: http://www.ohnolab.org/~kimoto
>
>
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-users mailing list