Bug#397691: librrd2 memory leak in 1.2.15

2006-12-02 Thread Josip Rodin
On Mon, Nov 27, 2006 at 01:48:00AM +0100, Sven Hartge wrote:
  Can you perhaps provide a configuration (and by that I mean the 
  RRD::graph invocation) and a .rrd data file that makes librrd2 
  explode?
 
   If you want, I can privately provide a tar of /var/lib/munin and 
  /etc/munin.

At a first glance, it's not a very general bug, because I'm able to do
something like this:

% rrdtool graph --base 1000 -l 0 testgraph.png -w 800 -h 250 -t 'The number of 
currently open inodes.' -v 'number of open inodes' 
DEF:a=$PWD/one.domain.tld/ds9.one.domain.tld-open_inodes-used-g.rrd:42:AVERAGE 
LINE1:a\#00:asdf
897x329
% 

Or:

% for i in */*.rrd; do echo $i:; rrdtool graph --base 1000 -l 0 testgraph.png 
-w 800 -h 250 -t 'Test desc.' -v 'test desc' DEF:a=$PWD/$i:42:AVERAGE 
LINE1:a\#00:asdf; done
[lots of repetitive output]
% echo $?
0

In other words, it didn't hang or crash immediately on something that
simple.

I suppose it will be necessary to recreate the entire Munin setup
(in a chroot perhaps) and run Munin itself over the data set, and
see exactly where and under which conditions it breaks.

-- 
 2. That which causes joy or happiness.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#397691: librrd2 memory leak in 1.2.15

2006-11-26 Thread Josip Rodin
On Thu, Nov 16, 2006 at 03:48:40PM +0100, Sven Hartge wrote:
  Can you perhaps provide a configuration (and by that I mean the RRD::graph
  invocation) and a .rrd data file that makes librrd2 explode?
 
 If you want, I can privately provide a tar of /var/lib/munin and 
 /etc/munin.

Okay, send it over to my address. How large is it?

-- 
 2. That which causes joy or happiness.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#397691: librrd2 memory leak in 1.2.15

2006-11-26 Thread Sven Hartge
Um 00:36 Uhr am 27.11.06 schrieb Josip Rodin:
 On Thu, Nov 16, 2006 at 03:48:40PM +0100, Sven Hartge wrote:

 Can you perhaps provide a configuration (and by that I mean the 
 RRD::graph invocation) and a .rrd data file that makes librrd2 
 explode?

  If you want, I can privately provide a tar of /var/lib/munin and 
 /etc/munin.
 
 Okay, send it over to my address. How large is it?

About 7.5MB as gzipped tar, 58M uncompressed.

S°

-- 
Sven Hartge -- professioneller Unix-Geek
Meine Gedanken im Netz: http://www.svenhartge.de/