Periodic scripts that hit external servers can cause a "thundering herd" problem, whereby many systems' periodic scripts run at the same time, and overload the server. To prevent this, such scripts should sleep for a random amount of time before hitting the external server. After r316432, there is a common anticongestion function to handle this. For an example of how to use it, see https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181374&action=diff
Created attachment 181704 [details] Patch fixing "thundering herd" problem (In reply to Alan Somers from comment #0) Thank you Alan. Patch fixing "thundering herd" problem is ready.
A commit references this bug: Author: asomers Date: Sat May 20 02:59:01 UTC 2017 New revision: 441287 URL: https://svnweb.freebsd.org/changeset/ports/441287 Log: Use anticongestion in security/rkhunter Introduced in src r316342, the anticongestion feature unifies multiple periodic scripts' disparate sleeps. PR: 218446 Submitted by: lukasz@wasikowski.net Reported by: asomers Reviewed by: asomers Approved by: Lukasz Wasikowski <lukasz@wasikowski.net> (maintainer) Approved by: brd (ports) Changes: head/security/rkhunter/Makefile head/security/rkhunter/files/415.rkhunter.in