On 1/12/17 3:46 PM, dkoleary wrote: > I think I've taken my open source puppet server to the limits; but, I'd like > to be able to confirm that and find out what resources are needed. > > Short version of the problem: When we first started, puppet agent runs would > take 5-10 seconds. Now, while we still have a limited number of modules, > we're looking at 1400+ systems under management. Most runs still take in the > 5-10 second range but a growing number are taking 400+ seconds to complete. > > Short version of the question: How do I know what needs to be tuned or > examined? > > An example: the first paragraph of > https://docs.puppet.com/pe/latest/config_puppetserver.html says "Tuning JRuby > on Puppet server". What would be the symptom that suggests JRuby needs tuning? > > An ISBN for a book would be great. I find all sorts of books on learning > puppet but not too many on tuning it. > > Any hints or suggestions will be greatly appreciated. > > Doug O'Leary >
Hi Doug, The times for agent runs typically do not correspond to any Puppet related tuning. The places that the agent comes into contact with the master during a puppet run, once they have received the catalog is file serving, filebucketing changed files and sending a report. Metrics to look for are how long does it take your puppet master to compile a catalog and are any of your agents timing out when requesting catalogs. Try checking out last_run_summary.yaml for figuring out which resources take the most time during the agent run. Typically I see poorly configured name servers and requests outside of the network as ways in which the agent will take longer to run. This thread might also help. https://ask.puppet.com/question/3/where-can-i-find-information-about-sizing-for-puppet-servers/ Best regards, -g -- Garrett Honeycutt @learnpuppet Puppet Training with LearnPuppet.com Mobile: +1.206.414.8658 -- 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/cf9f5d0b-dd54-6deb-de9d-a93a6f5abd20%40garretthoneycutt.com. For more options, visit https://groups.google.com/d/optout.