Hello...

I have an existing puppet setup that works very well except for one
thing.  Occasionally the puppetmaster is busy and the clients tend to
"bunch up".  Then on the next client run they tend to "bunch up" again
causing the puppetmaster to be slow down due to the high load which
causes more slow downs.  This example should show what is happending:

shell> grep ": Compiled catalog for " all.log | cut -d: -f 1-2 | uniq -c
   1 Jan  8 10:59
   8 Jan  8 11:00
  14 Jan  8 11:01
   2 Jan  8 11:02
   1 Jan  8 11:08
  15 Jan  8 11:10
  12 Jan  8 11:11
   1 Jan  8 11:20

The above shows an idle time followed by a rush of puppet clients
hitting the puppetmaster followed by another idle time.

This is probably worse when clients run a logrotate script with a client
restart from a cronjob. 

I would suggest something like the runinterval be $runinterval +
$(random number of seconds between 1 and 120) || $(random number of
seconds between 1 and $runinterval*0.1 )

That should help spread out the load on the server.




-- 
Christopher <chris...@pricegrabber.com>


--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to