Issue #14997 has been updated by Brice Figureau.
You're running an old version of Puppet. And it's also a (very) good practice to have a master more recent than the slave (or at least the same version). How many remote file download are you doing per catalog run? Because, Puppet doesn't use pipelining, and opens a new HTTPS connection for every remote file resources it needs to get metadata from (and then body if it needs to fetch the latest version). You might also try to emulate the agent with a simple curl access to see how long it takes to fetch the metadata/content of a given file resource, maybe there are some network or DNS issues. ---------------------------------------- Bug #14997: Very slow file transfers https://projects.puppetlabs.com/issues/14997#change-66209 Author: Nick Le Mouton Status: Investigating Priority: Normal Assignee: Patrick Carlisle Category: file Target version: Affected Puppet version: Keywords: performance Branch: I had just posted this on serverfault (http://serverfault.com/questions/398132/puppet-file-transfer-slow/398133) and it was suggested I open a bug report. I have a puppet master and slaves in different datacenters. The latency between them is ~40ms. When I run "puppet agent --test" on a slave to apply the latest manifest it takes ~360 seconds to finish. After doing some digging I can see the main cause of the slow down is file transfers. It seems it's taking ~10 seconds to transfer each file. The files are only small (configuration files) so I can't understand why they would take so long. It also seems I cannot update more than one server at once using puppet. If I run two servers at the same time then puppet takes twice as long. I have changed the puppet master from using webrick to mongrel (through Apache), but this doesn't seem to help. This is making deploying changes painful. A simple config change can take an hour to roll out to all servers. Puppet client is running on RHEL 6.2 (puppet 2.6.16), master is running on debian stable (puppet 2.6.2). -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
