> I just recently replaced the ActiveRecord storeconfigs with PuppetDB
> (1.4.0)and i am working through the various configurations.  I only have 14
> nodes  that are being managed and i have hitting the default limit for the
> resource-query-limit.  I can remedy it by setting it to 50000, but i would
> think with few hosts that i have, the default should be fine.  Am I wrong
> about that?  For the most part i am using default values that were installed
> when i installed the module (installed it via puppet).  I am running with
> Postgresql, on Centos 5.8

Well, the number of resources to nodes does seem high, but you can
check how many resources you have in PuppetDB by looking at the
dashboard (see "Resources in the population"). Navigate to the URL on
your PuppetDB, for example:
http://puppetdb1.vm:8080/dashboard/index.html. Since Puppet doesn't
put a limit on # of resources per node, its hard to say if your case
is a problem somewhere. It does however sound exceptional but not
unlikely (I've seen some nodes with 10k resources a-piece for
example).

In the future this resource limit would hopefully be removed, but for
now this is to put an administrative stop on large queries from
blowing the JVM heap and causing an OutOfMemory crash. The new feature
causes resources to be streamed instead of loaded up into memory
before being served which puts less strain on the heap.

ken.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to