You could write a fact that checks the system load and base your service restarts on that. I thought there was one but there only seems to be uptime and swapfree.
Here's a ruby gem that might help get you started. https://github.com/nethacker/usagewatch On 20 June 2014 04:45, Corey Osman <[email protected]> wrote: > Is there any "back off" algorithm in puppet that would unscheduled a service > refresh when the CPU load is too high. Is there a timeout associated with > refreshing services? > > My CPU load peaks as high as 18(one min)(6 Processor Count) during puppet > runs . I have about 20-30 java processes that need restarting almost every > time so its quite a chore for puppet to restart all these services. > > > My puppet runs last about 8-9 minutes for a full configuration/deployment. > > > > Corey > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/D0CE60BA-B66D-4CAB-8B41-86E8CF75C31D%40logicminds.biz. > For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAJ8DPF71uaVqpS_Ap_NtH1xG8p0dohfKa-5GUiWZ%3D3zh6t3t5Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
