On 4/18/16 3:05 AM, César wrote:
Hi all,

I have been looking for some docs to get more information on the
subject, but I have not been able to find them. Apologies if this has
been asked before!

I'm curious about what happens when a puppet agent run is performed but
there are no puppetmaster processes yet (I'm talking about puppetmaster
configured by Passenger, not the daemonized configuration).
When that happens usually I see something like this on the logs

Apr 18 09:59:19 ms1 puppet-master[5849]: Starting Puppet master version
3.3.2

My question would be: Should I always expect the puppet agent to somehow
spawn a puppetmaster process if there are none? Who's in charge of that?

In all versions of Passenger the default config will not start any application processes. Once a request is received Passenger will start the matching application process. This is the behavior you're seeing.

On a production server I recommend setting PassengerPreStart https://www.phusionpassenger.com/documentation/Users%20guide%20Apache.html#PassengerPreStart which will automatically start an application process. Available in Passenger 3+. However you can still end up with no Puppet master process available depending on other settings.

I wrote some about how I tune Passenger for production Puppet master loads here. https://ask.puppet.com/question/13433/how-should-i-tune-passenger-to-run-puppet/

Ramin

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/571515D5.5060206%40badapple.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to