https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217055
Bug ID: 217055
Summary: Consolidate random sleeps in periodic scripts
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: conf
Assignee: [email protected]
Reporter: [email protected]
On my system, there are three separate periodic scripts that try to sleep for a
random amount of time to reduce congestion on a download server somewhere:
300.statistics (from sysutils/bsdstat), 410.pkg-audit (from ports-mgmt/pkg),
and 480.leapfile-ntpd (from the base). There may be more throughout the ports
tree. A single sleep would be sufficient, but if all three scripts decide to
sleep, the total sleep time can get quite long.
I propose we add a 000.anticongestion periodic script, enabled by default for
daily, weekly, and monthly. It will sleep for 0 - 60 minutes, unless periodic
is being run interactively. Then we can remove the sleep in 480.leapfile-ntpd,
and conditionalize the ports sleeps on __FreeBSD_version.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"