[rrd-developers] Bug#499349: librrds-perl: RRDs takes too much memory

Tobias Oetiker tobi at oetiker.ch
Thu Sep 18 13:59:14 CEST 2008


Hi Sebastian,

There were some hefty memory leaks in rrdtool 1.3.1 they are fixed
in 1.3.3 ...

cheers
tobi



Today Sebastian Harl wrote:

> tags 499349 + upstream
> thanks
>
> Hi,
>
> (This is a follow-up to Debian bug #499349 [1]. Please keep
> 499349-forwarded at bugs.debian.org Cc'ed when replying.)
>
> [1] http://bugs.debian.org/499349
>
> On Thu, Sep 18, 2008 at 12:46:00AM +0200, Vincent Lefevre wrote:
> > Perl scripts using RRDs and running continuously take too much memory:
> > e.g. several dozen of MBs. For instance, after 30 hours:
> >
> >   PID USER     PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
> >  2651 lefevre   20   0  117M 80588  4548 S  0.0 31.6  2h48:00 perl /home/lefevre
> >
> > This makes the machine very slow, almost unusable (it is an old
> > machine with not much memory), with a load average that can go
> > up to 7, in particular because I have several of such scripts.
> > I've attached the one corresponding to the above line.
> >
> > I didn't have such problems in the past.
> >
> > Since the used memory increases, I suspect a new memory leak.
>
> I'm not yet into the RRDs code, so I'd really appreciate if someone else
> on rrd-developers could have a look at that.
>
> TIA,
> Sebastian
>
>

-- 
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-developers mailing list