Forum: CFEngine Help
Subject: Splaytime in 3.3 seems to be using seconds instead of minutes
Author: msvob...@linkedin.com
Link to topic: https://cfengine.com/forum/read.php?3,25768,25768#msg-25768

I started noticing on my 3.3 deployments that clients were contacting the 
master policy server at a very early part of my splaytime.

I set my splaytime to 50 minutes and I fire cf-exced once an hour.  

It seems that splaytime has been modified in 3.3 to use seconds instead of 
minutes.  This means that my splaytime went from 50 minutes, to 50 seconds, 
which is killing my master policy server.

Can a developer confirm this behavior?


body executor control 
{
        # We dont have a schedule interval because cf-execd is executed from 
root's crontab hourly.  Allow splaytime
        # to be set at a high value so we spread the load out on the master 
policy server over the hour.
        mike::
                splaytime               =>      "3000";
        svoboda::
                splaytime               =>      "50";




# /var/cfengine/bin/cf-execd -F -v -D mike | grep 'Sleeping for splaytime'
cf3> Sleeping for splaytime 1967 seconds
^C

# /var/cfengine/bin/cf-execd -F -v -D svoboda | grep 'Sleeping for splaytime'
cf3> Sleeping for splaytime 32 seconds
^C





_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to