Bug 218445

Summary: security/f-prot: periodic script needs anticongestion sleep
Product: Ports & Packages Reporter: Alan Somers <asomers>
Component: Individual Port(s)Assignee: Tim Bishop <tdb>
Status: New ---    
Severity: Affects Some People CC: w.schwarzenfeld
Priority: --- Flags: bugzilla: maintainer-feedback? (tdb)
Version: Latest   
Hardware: Any   
OS: Any   

Description Alan Somers freebsd_committer 2017-04-07 02:58:09 UTC
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
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-01-10 00:15:16 UTC
Maintainer feedback?
Comment 2 Walter Schwarzenfeld freebsd_triage 2018-01-10 08:11:29 UTC
svn-diff in  218447.