On Wednesday, June 20, 2012 9:52:21 AM UTC-5, Kmbu wrote:

[...]

I'm already running apache/passenger. Is there anything else I can do? 
>

It is suspicious that you say you are using passenger, but the workload is 
not being spread over both CPUs.  Make sure your clients are accessing the 
puppetmaster via apache, and not some standalone puppetmaster.  One way to 
do that is to make sure no standalone puppetmaster is running in the first 
place (passenger will start its own puppetmaster instances as needed).  In 
any case, the logs should reveal what master process is servicing your 
clients.

If all your clients are indeed going through apache, then perhaps you have 
a configuration problem on the apache / passenger side.  You will find a 
lot of advice on it in this group and elsewhere.  Or maybe RAM is your 
limiting resource.  Throughput will really tank when the master(s) run out 
of physical RAM and start swapping to disk, and all that I/O could lead to 
CPU idle time that you wouldn't otherwise see.

Once you get both CPUs loaded up, the next level of scaling is 
higher-capacity hardware, load balancing across multiple masters, or both.  
Just two cores is pretty wimpy these days, so I'd look first at moving to 
better hardware.  Is the master running in a VM?  In that case there might 
be some improvement available from running it directly on a physical 
machine, or else it should be easy to assign more cores and / or more RAM 
to it.

Alternatively, you can accommodate more clients by reducing the work 
required to support each one.  Some ways to do that are

   - lengthening the interval between agent runs
   - minimizing the number of managed resources
   - using a lighter-weight checksum method (md5lite, mtime, etc.) for 
   managed File content

Whether any of those are viable depends on your requirements for nodes.

John

-- 
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/-/zhcD91teLgwJ.
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