[Bug 230393] security/base-audit: Use anticongestion function if available
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Aug 5 20:20:08 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230393
Bug ID: 230393
Summary: security/base-audit: Use anticongestion function if
available
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: yasu at utahime.org
CC: 000.fbsd at quip.cz
Flags: maintainer-feedback?(000.fbsd at quip.cz)
CC: 000.fbsd at quip.cz
Created attachment 195915
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195915&action=edit
patch file
* Use anticongestion function if available. Commit message of base r316342 says
as following.
----------------------------------------------------------------------
Consolidate random sleeps in periodic scripts
Multiple periodic scripts sleep for a random amount of time in order to
mitigate the thundering herd problem. This is bad, because the sum of
multiple uniformly distributed random variables approaches a normal
distribution, so the problem isn't mitigated as effectively as it would be
with a single sleep.
This change creates a single configurable anticongestion sleep. periodic
will only sleep if at least one script requires it, and it will never sleep
more than once per invocation. It also won't sleep if periodic was run
interactively, fixing an unrelated longstanding bug.
----------------------------------------------------------------------
* Bump PORTREVISION.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list