misc/131438: Add csup to Periodic

Maxim Konovalov maxim at macomnet.ru
Fri Feb 6 23:40:08 PST 2009


The following reply was made to PR conf/131438; it has been noted by GNATS.

From: Maxim Konovalov <maxim at macomnet.ru>
To: Steven Kreuzer <skreuzer at exit2shell.com>
Cc: bug-followup at freebsd.org
Subject: Re: misc/131438: Add csup to Periodic
Date: Sat, 7 Feb 2009 10:34:55 +0300 (MSK)

 Hello Steven,
 
 [...]
 > >Description:
 >
 > Rather then run csup each night to update src or ports via an entry
 > in roots crontab I figured it would be cleaner to write a script and
 > add it to periodic so that you can specify a csup file and have its
 > output sent to you via email with the rest of the daily periodic
 > scripts
 >
 > The attached patch adds support for that but sets it to off by default.
 
 While I like the idea I should note this will hurt our cvsup
 infrastructure world wide.  periodic(8) runs at the same time (3am) on
 all hosts in the same time zone.  That means it'll runs 600.csup at
 same time with some deviation depending of the execution time of the
 previous daily scripts and thus overload local cvsup mirrors.
 
 You can see an illustration for above there:
 
 http://cvsup4.ru.freebsd.org/mrtg/
 
 Please note the spikes of cvsupd number of processes (and therefore
 load average) at 3am at third and fourth graphs every night.  I'm
 quite sure other public cvsup mirrors have an identical load profile.
 
 There is a bit outdated mirror stat page in the Handbook:
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/mirror-statpages.html
 
 but if you look at
 
 http://www.freebsd.cz/stats/mrtg/cvsupd.html
 
 you will find the same picture I describe above.
 
 -- 
 Maxim Konovalov


More information about the freebsd-bugs mailing list