Created attachment 195915 [details] 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.
(In reply to Yasuhiro KIMURA from comment #0) Htank you for your report. I'll take it in next few days and will release new version of security/base-audit with your anticongestion fix.
Created attachment 196291 [details] modified patch, bumped version to 0.3
I published modified version on my github. This can be committed. Thank you Yasuhiro.
Committed, thanks!
A commit references this bug: Author: pi Date: Mon Sep 3 05:23:22 UTC 2018 New revision: 478844 URL: https://svnweb.freebsd.org/changeset/ports/478844 Log: security/base-audit: update 0.2 -> 0.3 - Use anticongestion function if available PR: 230393 Submitted by: Yasuhiro KIMURA <yasu@utahime.org> Approved by: Miroslav Lachman <000.fbsd@quip.cz> (maintainer) Changes: head/security/base-audit/Makefile head/security/base-audit/files/405.pkg-base-audit.in