[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-hackers] Re: gcc at subversions
From: |
Loic Dachary |
Subject: |
[Savannah-hackers] Re: gcc at subversions |
Date: |
Mon, 26 Nov 2001 10:48:28 +0100 |
Jason Molenda writes:
I saw 7 rsync IO error in the past 24 hours. I guess it's because
of the lock file exclusion you mentionned but I'm not sure. Since it's
higher than what I expected, I'll activate verbose mode for a while to
see exactly why it happens.
I'm reluctant to use --ignore-errors because a few missed
deletions during an hour or so won't hurt much. However if there truly
is an error that is not triggered by the exclusion of cvs lock files
using --ignore-errors may cause annoying damages.
> I see you're rsync'ing once an hour. During low-load times, it
> takes ten minutes to build up the profile of changed files - during
> higher-load times, it takes as much as thirty minutes. The highest
> load on the system is morning time in the US, approx 15.00 GMT
> through 20.00 GMT, on weekdays (Monday through Friday).
Would you like me to change the frequency ? Every two hours
during peak time ? As far as I remember, if a rsync server is run
instead of an inetd launched rsync it caches the file list for a while.
> You could use something like
>
> LOCKFILE=/tmp/gcc-rsync.lock
> TWO_HOURS=7200
> lockfile -r 2 -l $TWO_HOURS $LOCKFILE || exit 1
> rsync --archive --delete --checksum --compress
> rsync://sourceware.cygnus.com/gcc-cvs /home/rsync/gcc
> rm -f $LOCKFILE
I did this thanks.
--
Loic Dachary http://www.dachary.org/ address@hidden
24 av Secretan http://www.senga.org/ address@hidden
75019 Paris T: 33 1 42 45 09 16 address@hidden
GPG Public Key: http://www.dachary.org/loic/gpg.txt