Issue #14997 has been updated by Nick Le Mouton.

I've updated my puppet master to 2.7 (from the puppetlabs debian repository) 
and have updated one of my clients to 2.7 (from the puppetlabs yum repo). This 
hasn't affected the speed at all. I'm doing a few file transfers, each seems to 
be taking 10 seconds. Even with no pipelining I wouldn't expect it to take 10 
seconds per file.

Is there a tutorial for emulating the agent with curl? I'll give that a go to 
see where the slowdown is.
----------------------------------------
Bug #14997: Very slow file transfers
https://projects.puppetlabs.com/issues/14997#change-66311

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.

Reply via email to