Bug 218445 - security/f-prot: periodic script needs anticongestion sleep
Summary: security/f-prot: periodic script needs anticongestion sleep
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Tim Bishop
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-07 02:58 UTC by Alan Somers
Modified: 2018-01-10 08:11 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (tdb)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181374&action=diff
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.