[rrd-users] rrdtool backed mrtg using massive amounts of memory
Tobias Oetiker
tobi at oetiker.ch
Wed May 20 06:34:35 CEST 2009
Hi Steven,
Yesterday Steven Hartland wrote:
> Of course always helps if you attach the files :P
>
> ----- Original Message ----- From: "Steven Hartland" <killing at multiplay.co.uk>
>
>
> > It just happened again so attached some info from the log and truss which
> > may give someone an idea where the issue is.
> >
> > A few more things which may be useful:
> >
> > rrd isnt big:-
> > du -h as01.gswams_11.rrd
> > 2.8M as01.gswams_11.rrd
> >
> > rrdtool config info:
> > It was created by rrdtool configure 1.3.7, which was
> > generated by GNU Autoconf 2.61. Invocation command line was
> >
> > $ ./configure --disable-tcl --disable-python --disable-ruby --enable-perl
> > --enable-perl-site-install --disable-mmap --prefix=/usr/local
> > --mandir=/usr/local/man --infodir=/usr/local/info/
> > --build=amd64-portbld-freebsd7.0
> >
> > So the log clearly shows mmap in use, for the update to the rrd that
> > caused the issue, but not for the next or any subsiquent files, but this
> > build was definitely compiled with --disable-mmap as shown by config.log.
> >
> > Next up, as far as I can see rrdtool doesnt even use MAP_ANON so whats
> > causing this strange behviour?
I can only imagine that the posix_fadvise calls are causing this ...
you could try commenting them out.
cheers
tobi
--
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