On Fri, 2012-01-27 at 11:02 +0100, Antidot SAS wrote:
> Hi everyone,
> 
> 
> 
> 
> I am using puppet 2.7.9 and ruby 1.8.7 on debian box. I don't a lot of
> modules right now: just one module that create user + dotfile + ssh
> key and compiled catalog takes around 70s do I have to worry is that
> big.

70s is very high. My biggest node has around 2000 resources, and it
takes around 12s to compile (including storeconfigs) on a 4 year old
Dell 2950 (one 4C 1.18GHz processor, 4GiB RAM).

Compilation time depends on two things:

* the complexity (in number of classes or resources) of your manifests
* the number of concurrent nodes asking for catalog (the more node
asking for catalogs, the more load on your server and processes start to
fight for CPU/RAM).

Also, if you have storeconfigs enabled, this can take quite some time.
In which case I suggest to run with thin_storeconfigs instead of the
full one if you can.

You might also want to check that your server is not swapping.

> Does the compiled time scale with the module number? Do I have to make
> sure I don't cross a certain limit?

-- 
Brice Figureau
Follow the latest Puppet Community evolutions on www.planetpuppet.org!

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to