Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2003 16:18:22 -0500 (EST)
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        jason andrade <jason@rtfmconsult.com>
Cc:        hubs@FreeBSD.org
Subject:   Re: 5.0-RC3 uploaded for ia64 
Message-ID:  <200301192118.h0JLIMJj001081@khavrinen.lcs.mit.edu>
In-Reply-To: <Pine.GSO.4.50.0301192121590.772-100000@luna.rtfmconsult.com>
References:  <Pine.GSO.4.50.0301122119070.772-100000@luna.rtfmconsult.com> <20030112231942.8C0DC2A89E@canning.wemm.org> <200301172336.h0HNaffS082189@khavrinen.lcs.mit.edu> <7mu1g7mimb.wl@black.imgsrc.co.jp> <200301180049.h0I0n1ja082493@khavrinen.lcs.mit.edu> <Pine.GSO.4.50.0301192121590.772-100000@luna.rtfmconsult.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Sun, 19 Jan 2003 21:24:28 +1000 (EST), jason andrade <jason@rtfmconsult.com> said:

> Any chance you can publish your cvsup invocations so that more sites
> can look at using cvsup instead of rsync.

I'm now using the one in ftp-master's rsync MOTD.  Nothing special
about it, other than refusing the things that I can do better locally
or don't have space for.  I added `-s' and `-l' flags (see the man
page) to speed things up and prevent multiple invocations from
stepping on each other.

> My feeling is that the archive has grown to a point where noone should
> simply be updating their archive by pointing it at FreeBSD/ and letting
> it go as this is having to build a huge list of files (and using
> memory).

This is not an issue for cvsup.

> it would be interesting to know how many people are hitting ftp-master
> with a full sync, who really shouldn't.

The biggest part of the problem is that there are a lot of expanded
source trees in the FTP space because they were always there, even
though much better means exist for accessing those files.  These
should simply be removed.

The meat of the six-hour update script looks like this:

su -m $mirroruser -c "cvsup -g -L 1 -l ${tmpdir}/lock.ftp-master.freebsd.org ${sflag} /y/mirror/ftp-master.freebsd.org" 2>&1 | egrep -v '/$' >${logfile}.0 &
su -m $mirroruser -c "sleep 120; cvsup -g -L 1 ${sflag} ${ftpdir}/pub/FreeBSD/branches/4.0-stable/supfile.cvsup" >${logfile}.2 2>&1 &
su -m $mirroruser -c "sleep 180; cvsup -g -L 1 ${sflag} ${ftpdir}/pub/FreeBSD/branches/-current/supfile.cvsup" >${logfile}.3 2>&1 &
wait

-GAWollman


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hubs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301192118.h0JLIMJj001081>