I believe I've set up Apache/Passenger correctly, yes. Running 
passenger-status shows 12 processes running under the 
/usr/share/puppet/rack/puppetmasterd domain. Would setting up cron jobs be 
on top of this passenger configuration, or should Apache/Passenger be 
enough?

Thanks, 
Gordon

On Thursday, 29 November 2012 15:48:10 UTC, Matthew Burgess wrote:
>
> On Thu, Nov 29, 2012 at 3:35 PM, GordonJB <g.bon...@gmail.com<javascript:>> 
> wrote: 
> > Hi all, 
> > 
> > I'm currently getting a lot of update failures showing up with no logs 
> in 
> > the dashboard. This happens for about half of our 28 nodes, about once 
> an 
> > hour. When re-run half an hour later, everything seems fine. 
> > 
> > Through a combination of server restarts and our Puppet master locking 
> up 
> > entirely yesterday, almost all of our nodes are now trying to do their 
> half 
> > hourly update at the same time. Could this be the reason half of them 
> fail? 
> > If so, how can I avoid this? 
>
> Are you using any webserver in front of Puppet (Apache/Passenger for 
> example)?  If not, you're probably running into Webrick's (Puppet's 
> default HTTP server) single-threaded limitation, whereby it can only 
> service a request from a single node at a time.  Depending on your 
> client's update schedule (by default it's once every 30 minutes) and 
> number of clients you may end up with multiple clients trying to 
> request a catalog run at the same time. 
>
> You can either set up Apache/Passenger to sit in front of Puppet for 
> you, thereby enabling more clients to be handled concurrently.  Or you 
> can have your clients check in less frequently and schedule them (via 
> cron, for example) so as to avoid multiple clients checking in with 
> the master concurrently (this obviously does not scale well at all). 
> If you want to go the Passenger route, there's a guide at 
> http://docs.puppetlabs.com/guides/passenger.html. 
>
> Hope this helps, 
>
> Matt. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/odELdV7Aoh0J.
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