This sounds like it's related to the following 
bug: https://tickets.puppetlabs.com/browse/PUP-3389

Can you please add any troubleshooting info you have onto that ticket? We 
are aware of the issue and are interested in characterizing it to build a 
fix.

Thanks!

On Wednesday, November 12, 2014 8:41:38 AM UTC-8, hecto...@gmail.com wrote:
>
> Hello,
>
> My problem: it takes 2 minutes and 14 seconds for the puppetmaster to 
> start (and it uses 100% cpu). It also seems to take way longer if spawned 
> by Apache/passenger.
>
> We run a larger-than-average Puppet setup, with 1892 different puppet 
> environments, each of them different from each other.
>
> Traditionally we have not used "environments", but rather played with the 
> "modulepath" variable to simulate them (since before they were implemented 
> as such this was the way to do it).
>
> Now I am trying to enable "environments" the proper way, by setting 
> environmentpath etc.
>
> Strace shows that the puppetmaster will try to read every single 
> environment directory and environment.conf file during startup and it is 
> obviously setting up some underlying configuration as it takes a 
> considerable large amount of time for every environment.
>
> I don't know how far in 3.x this goes since we never cared to test them.
>
> My questions:
>
>   * Any idea how to workaround it (other than keeping our modulepath-based 
> configuration, which works well)
>   * Assuming this is a just a "warm up" time, will a low 
> "environment_timeout" setting cause the retriggering of such slow 
> operations as the ones happening during the puppetmaster start on a regular 
> basis?
>  
> Even as a one-time warm-up time this is not acceptable for us so I guess 
> we will keep using our current way, even with the deprecation warnings. 
> Note I think the new "environments"-way makes totally sense and the model 
> fits better for large diverse setups like ours. It just does not work well.
>
> If any developer is watching this list, it would be good to now if this 
> can be considered a bug (I can open a ticket), or is part of the 
> environment's "feature". Regards!
>
> Hector
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/f10c749b-3cb4-46e6-9fd2-d7ca8fa26db8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to