Splaytime is the time cf-execd delays cf-agent execution to spread the load on CFEngine server over a period of time.
The length of this period is given by the “splaytime” statement in “body executor control”, and each host delays its execution within this timeframe by a specific delay, computed by a host-specific hashing.
Hashing parameters are:
- main ip address
- uid used to run cf-execd
Before cf-execd execution, it is not possible to know in advance this host-specific delay.
cfe-rsplaytime allows to compute this delay beforehand. It was written to debug a huge clients to server connections problem.
cfe-rsplaytime.py <splaytime> <fqdn> <ip> <uid> $ ./cfe-rsplaytime.py 1 debian70.boring 192.168.2.110 0 Runtime splaytime is 45.55s
The computed splaytime is valid for the following CFEngine versions:
- cfe-rsplaytime.py - SHA256 d0957fd0ccc4091b89bd7b12d98ad6219f6b9a708c31832e9bf16e880a831370
- Github project
Loic Pefferkorn firstname.lastname@example.org, please use Github issues for bugs or enhancements ideas