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
Maintainer feedback?
svn-diff in bug # 218447.
(In reply to w.schwarzenfeld from comment #1) > Maintainer feedback? Ak! I somehow missed this one. :-( In case anyone wants to know. I'm now looking at this. Thanks Alan, Walter! --Chris
A commit references this bug: Author: asomers Date: Mon May 21 16:02:28 UTC 2018 New revision: 470559 URL: https://svnweb.freebsd.org/changeset/ports/470559 Log: sysutils/boxbackup*: use anticongestion sleep in the periodic job Use an anticongestion sleep in the periodic job to prevent the thundering herd problem when many systems' cron jobs fire off at once. PR: 218448 PR: 218449 Approved by: portmaster@bsdforge.com (maintainer) Changes: head/sysutils/boxbackup/Makefile head/sysutils/boxbackup/files/999.boxbackup.in head/sysutils/boxbackup-devel/Makefile head/sysutils/boxbackup-devel/files/999.boxbackup.in