[rrd-users] Limits on the number of DEFS in rrdxport

Tobias Oetiker tobi at oetiker.ch
Tue Nov 26 08:36:58 CET 2013

Hi Sapan,

the number should only be limited by the available memory on your
system. what numbers are you talking about ? for the 1.4.8 release
I did tests with 100000 defs, because the prime objective of the
release was to improve performance for such applications.


Yesterday SB wrote:

> Hi,
> I've built the beginnings of a simple tool that lets you specify rrd
> aggregation 'recipes' using regular expressions on the paths to rrd files
> [1]. So suppose you have data for N nodes in the following directory
> structure, where the first two letters refer to a location:
> us1.mydomain.org
> us2.mydomain.org
> ...
> eu1.mydomain.org
> eu2.mydomain.org
> ...
> Then you could aggregate the data for all possible locations using this
> regular expression:
> (..)\d+.mydomain.org/.*rrd
> Rather than building a new processor, I leveraged rrdxport's nice
> aggregation interface. In other words, recipes in yaml format are converted
> into invocations of rrdxport.
> *This works fine, except when the number of DEFS in rrdxport exceeds a
> certain number. At that point, rrdxport simply returns without giving any
> error messages.*
> Is there a limit on the number of DEFS you can pass in a single rrdxport
> invocation, and if so then is there a way of raising the limit?
> This is the version of rrdtool that I am using:
> RRDtool 1.4.8  Copyright 1997-2013 by Tobias Oetiker <tobi at oetiker.ch>
>                Compiled Oct 11 2013 12:13:01
> Thanks in advance,
> Sapan
> [1]
> http://git.planet-lab.org/?p=rrdaggregate.git;a=blob;f=example.yaml;h=e1e50c31429b3ead3dfd883318ca0bc41e228dc9;hb=HEAD

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