Issue #14997 has been updated by Nick Le Mouton.

I don't think this is an issue any more. I did some digging on my puppetmaster 
and found out that it wasn't running through passenger after all. (netstat -anp 
| grep 8140) After fixing this up and making sure my Apache config was working 
puppet takes 8 seconds to run instead of 380 seconds.
----------------------------------------
Bug #14997: Very slow file transfers
https://projects.puppetlabs.com/issues/14997#change-67320

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