Re: [Puppet Users] Puppet capacity with apache+passenger, server saturated

2011-12-20 Thread Jeffrey Watts
Here's how I do it, which IMHO works really well in most situations and is much simpler. No external scripts, no custom functions. We take the IP address of the system, strip out the periods, and modulo 30 it: $cron_time1= generate('/usr/bin/env', 'sh', '-c', "printf $(($(echo $::ipaddress | a

Re: [Puppet Users] Puppet capacity with apache+passenger, server saturated

2011-12-20 Thread Trevor Vaughan
One other thing to look at is how many nodes are hitting your server at once. If you're not using the ip_to_cron function from the Cron Patterns page, you might want to take a look at it. http://projects.puppetlabs.com/projects/1/wiki/Cron_Patterns Some people are also using MCollective to to a

Re: [Puppet Users] Puppet capacity with apache+passenger, server saturated

2011-12-16 Thread Brice Figureau
On Fri, 2011-12-16 at 04:56 -0800, Antonio Xanxess wrote: > I have a problem with my Puppet server, the server is overloaded and > processes need to add half of my farm nodes yet! > The server is hosted on a blade with the following characteristics: > Processors: 8 cores > Memory Ram: 12 Gb > Opera

[Puppet Users] Puppet capacity with apache+passenger, server saturated

2011-12-16 Thread Antonio Xanxess
Hi everyone, I have a problem with my Puppet server, the server is overloaded and processes need to add half of my farm nodes yet! The server is hosted on a blade with the following characteristics: Processors: 8 cores Memory Ram: 12 Gb Operating System: Debian Squeeze Version of parcel: 2.7.1-1 ~