On Wednesday, August 7, 2013 11:46:06 AM UTC-5, Cesar Covarrubias wrote: > > I am already using Passenger. My master is still being minimally utilized, > as I'm just now beginning the deployment process. In terms of specs, it is > running 4 cores and 8GB of mem and 4GB of swap. During a run, the total > system usage is no more than 2GB and no swap. No network congestion and I/O > is low on the SAN which these VMs use. > > The odd thing is once the hosts get all the libs sync'd, performance is > fine on further changes. It's quite perplexing. > > To be certain that contention by multiple Puppet clients does not contribute to the issue, ensure that the problem still occurs when only one client attempts to sync at a time. If it does, then the issue probably has something to do with the pattern of communication between client and master, for that's the main thing that differs between an initial run and subsequent ones.
During the initial plugin sync, the master delivers a moderately large number of small files to the client, whereas on subsequent runs it usually delivers only a catalog, and perhaps, later, 'source'd Files declared in your manifests. There may be a separate connection established between client and master for each synced file, and anything that might slow that down could contribute to the problem. For instance, if a firewall on client, master, or any device between makes it slow or unreliable to establish connections; if multiple clients are configured with the same IP number; if a router anywhere along the network path is marginal; if a leg of the path is wireless and subject to substantial radio interference; if any part of your network is suffering from a denial-of-service attack; etc. then probabilistically speaking, the effect would be much more noticeable when a successful transaction requires many connections and data transfers than when it requires few. John -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.