mirrors.gigenet.com is synced with 5 and we will continue to support 4, please update the mirrors webpage to reflect this and put us in the 5 distribution pool.-Ross> Date: Fri, 13 Apr 2007 03:04:31 +0800> From: yzcswang@gmail.com> To: centos-mirror@centos.org> Subject: [CentOS-mirror] Syncing of CentOS 5 to mirrors.> > ftp.cse.yzu.edu.tw is now synced, it carries all arches all versions> _______________________________________________> CentOS-mirror mailing list> CentOS-mirror@centos.org> http://lists.centos.org/mailman/listinfo/centos-mirror
Also,
Does anyone see anything wrong with this crontab
* */6 * * * rsync -avz --include='timestamp.txt' --include='TIME' --include='RPM-GPG-KEY-centos4' --include='4.4/' --include='4.3/' --include='4.2/' --include='4.1/' --include='4/' --include='4.0/' --include='5/' --include='5.0/' --exclude='/*' msync.centos.org::CentOS /mirror/www/centos/ > /var/log/rsync.log
I was using it to just mirror 4 but now that five is out and I did the includes for it crontab has been going crazy and laucnhing multiple instances.
-Ross
----- Original Message ----- From: "Ross" rosshosman@hotmail.com To: "Mailing list for CentOS mirrors." centos-mirror@centos.org Sent: Thursday, April 12, 2007 4:51:37 PM (GMT-0600) America/Chicago Subject: RE: [CentOS-mirror] Syncing of CentOS 5 to mirrors.
mirrors.gigenet.com is synced with 5 and we will continue to support 4, please update the mirrors webpage to reflect this and put us in the 5 distribution pool.
-Ross
Date: Fri, 13 Apr 2007 03:04:31 +0800 From: yzcswang@gmail.com To: centos-mirror@centos.org Subject: [CentOS-mirror] Syncing of CentOS 5 to mirrors.
ftp.cse.yzu.edu.tw is now synced, it carries all arches all versions _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
On Fri, 13 Apr 2007, Ross Hosman wrote:
Does anyone see anything wrong with this crontab
- */6 * * * rsync -avz [blah blah blah]
well, nothing seriously wrong, except you keep launching every four hours, no matter what. so, if a sync does not complete in four hours, you will see multiple instances. i would suspect that the entire 5 tree is not syncing up in 4 hours, so you see multiple instances. i will offer a couple of suggestions.
ditch the z option; most content is already compressed, why try another z on top of it? only end up causing needless cpu load.
write a small script and call the script from crontab; the script could have a couple of lines to do locking so multiple instances will not occur - it would look like so (shameless lifted from debian)
HOSTNAME=`hostname -f` LOCK="somewhere/Archive-Update-in-Progress-${HOSTNAME}" # Check to see if another sync is in progress if lockfile -! -l 43200 -r 0 "$LOCK"; then echo ${HOSTNAME} is unable to start rsync, lock file exists exit 1 fi
Thanks but the entire 5 tree is already synced so I don't know why it is going a bit crazy.
-Ross
----- Original Message ----- From: "Prof. P. Sriram" sriram@ae.iitm.ac.in To: "Mailing list for CentOS mirrors." centos-mirror@centos.org Sent: Friday, April 13, 2007 12:04:56 AM (GMT-0600) America/Chicago Subject: Re: [CentOS-mirror] Syncing of CentOS 5 to mirrors.
On Fri, 13 Apr 2007, Ross Hosman wrote:
Does anyone see anything wrong with this crontab
- */6 * * * rsync -avz [blah blah blah]
well, nothing seriously wrong, except you keep launching every four hours, no matter what. so, if a sync does not complete in four hours, you will see multiple instances. i would suspect that the entire 5 tree is not syncing up in 4 hours, so you see multiple instances. i will offer a couple of suggestions.
ditch the z option; most content is already compressed, why try another z on top of it? only end up causing needless cpu load.
write a small script and call the script from crontab; the script could have a couple of lines to do locking so multiple instances will not occur - it would look like so (shameless lifted from debian)
HOSTNAME=`hostname -f` LOCK="somewhere/Archive-Update-in-Progress-${HOSTNAME}" # Check to see if another sync is in progress if lockfile -! -l 43200 -r 0 "$LOCK"; then echo ${HOSTNAME} is unable to start rsync, lock file exists exit 1 fi
On Thu, 12 Apr 2007, Ross wrote:
mirrors.gigenet.com is synced with 5 and we will continue to support 4, please update the mirrors webpage to reflect this and put us in the 5 distribution pool.-Ross> Date: Fri, 13 Apr 2007 03:04:31 +0800> From: yzcswang@gmail.com> To: centos-mirror@centos.org> Subject: [CentOS-mirror] Syncing of CentOS 5 to mirrors.> > ftp.cse.yzu.edu.tw is now synced, it carries all arches all versions> _______________________________________________> CentOS-mirror mailing list> CentOS-mirror@centos.org> http://lists.centos.org/mailman/listinfo/centos-mirror
you are shown as carrying all releases ???
Regards Lance
-- uklinux.net - The ISP of choice for the discerning Linux user.