[rrd-users] R: RRDTOOL - SNMP & System Resources

Simone Felici - Alpikom Spa s.felici at alpikom.it
Mon Jun 7 12:22:30 MEST 2004

I've allready split the scripts into 2 different jobs... Why 2?
The most of the RRD Files are taken from 2 DSL routers.
The script execute an SNMPWALK to collect ALL devices (xDSL) confiugred on
the Router and if new VP-VC are configured, then an RRD will be created and
ifInOctets/ifOutOctets are stored. Also merge different rrd into one is a
litte difficult, because the number of configured xDSL lines can change.
Ah, only another program is running on the Server. It's Nagios (to monitor
some devices -in test-), but it doesn't use much resources.
Do you (or someone) have an idea WHY the free memory is falling down and the
swap incease until the server crashs?
As you can see in the picture, after a REBOOT the free memory is 220MB,
after an hour it falls to 20MB quickly, then stable to 10MB and the swap
increase... It's strange.. Because the scripts will be execute and then
finish (almost) within 5 minutes, also i _think_ the memory should be return
I don't think RRD-Tool use so much RAM during the update, or yes?

Thanks in advice.


> -----Messaggio originale-----
> Da: Chan Chi Hung [mailto:chihung at mc-3.org] 
> Inviato: lunedì 7 giugno 2004 10.54
> A: Simone Felici - Alpikom Spa
> Cc: rrd-users at list.ee.ethz.ch
> Oggetto: Re: [rrd-users] RRDTOOL - SNMP & System Resources
> I would suggest you stagger your jobs over the 5 minutes interval 
> instead of trying to do everything at exactly every 5 minutes. Try
> 0,5,10,15,20,25,30,35,40,45,50,55 * * * * do 1/5th of the job
> 1,6,11,16,21,26,31,36,41,46,51,56
> 2,7,12,17,22,27,32,37,42,47,51,57
> 3,8,13,18,23,28,33,38,43,48,53,58
> 4,9,14,19,24,29,34,39,44,49,54,59
> Ensure your 1/5th job finishes with 1 minute
> 1250 RRDs - are you storing indiviudal DS in its own RRD. Say you 
> collect ifInOctets, ifOutOctets for router1/router2/router3. 
> You may be 
> creating 6 RRDs where you can do with 3 in a logical way. 
> Simply create 
> router1.rrd with DS ifInOctets and ifOutOctets. This will 
> definitely cut 
> down the number of RRDs

-- Attached file removed by Ecartis and put at URL below --
-- Type: image/png
-- Size: 5k (5585 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/02-memory.png

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list