Date: Tue, 31 Oct 2017 17:43:01 +0900 (JST) From: Yasuhiro KIMURA <yasu@utahime.org> To: freebsd-questions@freebsd.org Subject: Re: Ways to help investigating behavior of periodic scripts Message-ID: <20171031.174301.1258442492129242359.yasu@utahime.org> In-Reply-To: <656232e3-33bc-2301-ab4a-b6f390cbe581@qeng-ho.org> References: <20171031.080731.85349314815802482.yasu@utahime.org> <656232e3-33bc-2301-ab4a-b6f390cbe581@qeng-ho.org>
next in thread | previous in thread | raw e-mail | index | archive | help
From: Arthur Chance <freebsd@qeng-ho.org> Subject: Re: Ways to help investigating behavior of periodic scripts Date: Tue, 31 Oct 2017 08:02:50 +0000 > If you're using the pkg system (which most people do) then the periodic > script > > /usr/local/etc/periodic/security/410.pkg-audit > > has at line 60 > > sleep `jot -r 1 0 3600` > > which sleeps for a random time between 0 seconds and 1 hour. This is to > avoid the "thundering herd" problem at the servers, and obviously can > cause the completion time to jitter by up to an hour. Yes, pkg is installed on my home server. So this is probably what I would like to investigate. Thank you for letting me know. --- Yasuhiro KIMURA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171031.174301.1258442492129242359.yasu>