[rrd-users] ERROR: attempting to write beyond end of file

Stefan Brandl smb at r-kom.de
Tue Jan 11 16:13:52 CET 2011


On Thu, Jan 06, 2011 at 04:01:28PM +0100, Tobias Oetiker wrote:
> Hi Stefan,
> 
> Dec 28 Stefan M. Brandl wrote:
> 
> > On Sun, Dec 26, 2010 at 04:16:18PM +0100, Tobias Oetiker wrote:
> > > Hi Stefan,
> > >
> > > I tried to repoduce that but faild .. can you please provide
> > > the create line for your rrd as well ...
> > >
> >
> > noc at lowrider:~$
> > noc at lowrider:~$ rrdtool create tester.rrd DS:inet:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600
> > noc at lowrider:~$  rrdtool resize tester.rrd 0 GROW 100
> > ERROR: attempting to write beyond end of file
> > noc at lowrider:~$
> 
> I could not reproduce this ... are you using rrdtool with mmemory
> mapping ? could you try without ? what system, kernel are you using
> ?
> 

I'm using mmap.
System is a slackware Linux with an "handmade" Kernel 2.6.32.24

Compiling rrdtoool with --disable-mmap I get:

noc at lowrider:~$ 
noc at lowrider:~$ /opt/rrdtool-1.4.5.002167/bin/rrdtool create tester.rrd DS:inet:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600
noc at lowrider:~$ /opt/rrdtool-1.4.5.002167/bin/rrdtool resize tester.rrd 0 GROW 100                                 
Segmentation fault
noc at lowrider:~$ 


Stefan



More information about the rrd-users mailing list