I just realized that for some graphs, 'rrdtool -graph' takes excessive amounts of memory (300MB).
$ rrdtool -version
RRDtool 1.2.15 Copyright 1997-2006 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Jul 19 2006 15:49:44
Has anyone else experienced this?
rrdtool -graph using excessive memory
Moderators: Developers, Moderators
Re: rrdtool -graph using excessive memory
Some more data:sejtam wrote:I just realized that for some graphs, 'rrdtool -graph' takes excessive amounts of memory (300MB).
The process(here at 200MB size still growing):
viralat 20071 15.7 32.2 209024 203068 ? R 03:33 0:12 /usr/bin/rrdtool graph - --imgformat=PNG --start=1159126420 --end=1159212820 --title=flunder - FC2 gateway ANS external view current tasks --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=1 --logarithmic --no-legend COMMENT:From 2006/09/25 03\:33\:40 To 2006/09/26 03\:33\:40\c COMMENT: \n --vertical-label= --slope-mode DEF:a=/var/www/cacti/rra/flunder_fc2_gateway_curtask_unknown_181.rrd:curtask_sleeping:AVERAGE DEF:b=/var/www/cacti/rra/flunder_fc2_gateway_curtask_unknown_181.rrd:curtask_soasendwait:AVERAGE DEF:c=/var/www/cacti/rra/flunder_fc2_gateway_curtask_unknown_181.rrd:curtask_soarcvwait:AVERAGE DEF:d=/var/www/cacti/rra/flunder_fc2_gateway_curtask_unknown_181.rrd:curtask_xfrstrtwt:AVERAGE DEF:e=/var/www/cacti/rra/flunder_fc2_gateway_curtask_unknown_181.rrd:curstat_xferring:AVERAGE DEF:f=/var/www/cacti/rra/flunder_fc2_gateway_curtask_unknown_181.rrd:curtask_unknown:AVERAGE LINE2:a#33FF33: LINE2:b#8080FF: LINE2:c#9999FF: LINE2:d#FF9900: LINE2:e#FFCC99: LINE2:f#CCCCCC:
The datasource for this is defined as:
/usr/bin/rrdtool create \
/var/www/cacti/rra/flunder_fc2_gateway_curtask_unknown_181.rrd \
--step 300 \
DS:curtask_unknown:GAUGE:600:0:99999999 \
DS:curtask_sleeping:GAUGE:600:0:99999999 \
DS:curtask_soasendwait:GAUGE:600:0:99999999 \
DS:curtask_soarcvwait:GAUGE:600:0:99999999 \
DS:curtask_xfrstrtwt:GAUGE:600:0:99999999 \
DS:curstat_xferring:GAUGE:600:0:99999999 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
Is this a memory-leak?
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
I had the same problem with 1.2.15, running on Gentoo.
I've downgraded to 1.2.13
I had the same problem with 1.2.15, running on Gentoo.
I've downgraded to 1.2.13
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Who is online
Users browsing this forum: No registered users and 0 guests