Martin Kuen
2010-Aug-11 15:07 UTC
[Puppet Users] puppetd slow, if master is on another host inside same LAN - newbie question
Hello all, I am new to puppet and I currently just use it during development - just two hosts. I only manage distribution of files/permissions with it. I am wondering why puppetd is running slowly on one of these machines. Google told me that File with "recurse => true" will make things run slowly. I use "recurse => true" :( Now I want to find out now if the slowdown I am experiencing is "normal" or not. It "could" be a network issue . . . *Some Notes: * - One host is running puppetmaster and puppetd, whereas the other one is running just puppetd. - A catalog run on the machine running both master/client takes less than 10 seconds. It requires one module more than the other (client-only) host - A catalog run on the machine running just the client takes around 110 seconds. puppetd is using one core to 100% during the catalog run. puppetmaster is almost idle. - Both machines are identical (hardware,OS) - The computers are equipped with 2 nic''s. One private IP (192.168.99.X), one public. The hostnames used for/by puppet are correct, I believe. When I do ''ping {nameOfServerAsIn/etc/hosts}'' it''s resolved to the private ip of that host. Same for the client. The (private) lan is actually a vlan setup by our hosting company, its speed is 100Mbps, no flow control. Pings are around 0.5ms - I deleted the content of vardir=/var/lib/puppet (and then request/sign the certificate) on the client - I reinstalled puppetd on the machine, where it was running slow - Most of the time (especially while investigating this issue) I run puppetd with --no-daemonize and --debug - I regularly restart puppetmaster (e.g. before a catalog run), since some people reported memory problems with it processor: Intel Xeon os: ubuntu 10.4 LTS server 64-bit puppet: 0.25.4 (taken from ubuntu repository) Best Regards, Martin -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.