Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22203 - New rsync mirror
Summary: New rsync mirror
Status: RESOLVED FIXED
Alias: None
Product: Mirrors
Classification: Unclassified
Component: New Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mirror Admins
URL: rsync://rsync.tecnonetwork.it
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-04 08:33 UTC by Emmanuele Vigni
Modified: 2003-08-05 20:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuele Vigni 2003-06-04 08:33:58 UTC
I like to become a new rsync mirror
Machine name; rsync.tecnonetwork.it
Machine IP: 212.103.196.154
Contact information; Emmanuele Vigni - hostmaster@clappy.it
Comment 1 Peter Penkala gentoo-dev 2003-06-04 11:15:02 UTC
I've added 212.103.196.154 to the access list for rsync1.us.gentoo.org.
Please update your rsync cron jobs to point to rsync1.us.gentoo.org
and post back here when you've done so.  We'll monitor the server 
for a couple days to make sure things are working fine and then add 
it to the rotation.

Also, I'd like to verify that the server is running ntp, what the upstream
connection is, max users, CPU and RAM.

Thanks.
Comment 2 Peter Penkala gentoo-dev 2003-06-04 12:11:15 UTC
An email I received.  I've left out some minor details regarding
'cat /proc/cpuinfo' and 'free'


From: Emmanuele Vigni <hostmaster@clappy.it>
To: pjp@gentoo.org
Date: Wed, 04 Jun 2003 18:39:45 +0200

 > Please update your rsync cron jobs to point to rsync1.us.gentoo.org
 > and post back here when you've done so.

Done. This is the log:

************************************************************************
Started update at Wed Jun 4 15:30:02 CEST 2003
@ERROR: max connections (7) reached - try again later
rsync: connection unexpectedly closed (67 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
End: Wed Jun 4 15:30:03 CEST 2003
Started update at Wed Jun 4 16:00:01 CEST 2003
End: Wed Jun 4 16:00:13 CEST 2003
Started update at Wed Jun 4 16:30:01 CEST 2003
@ERROR: max connections (7) reached - try again later
rsync: connection unexpectedly closed (67 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
End: Wed Jun 4 16:30:04 CEST 2003
Started update at Wed Jun 4 17:00:01 CEST 2003
End: Wed Jun 4 17:00:11 CEST 2003
Started update at Wed Jun 4 17:30:01 CEST 2003
End: Wed Jun 4 17:30:22 CEST 2003
Started update at Wed Jun 4 18:00:01 CEST 2003
@ERROR: max connections (7) reached - try again later
rsync: connection unexpectedly closed (67 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
End: Wed Jun 4 18:00:05 CEST 2003
Started update at Wed Jun 4 18:19:02 CEST 2003
End: Wed Jun 4 18:19:28 CEST 2003
Started update at Wed Jun 4 18:30:01 CEST 2003
End: Wed Jun 4 18:30:56 CEST 2003
***************************************************************************

This is my 'crontab -e' entry:

*/30 * * * * /usr/sbin/rsync-gentoo-portage.sh

 > Also, I'd like to verify that the server is running ntp, what the > 
upstream
 > connection is, max users, CPU and RAM.

ntp is tunning and syncing with ntp.dn.net. If you want to check this, 
could you tell me the IP from which you'll do the test that I have to 
configure my firewall properly?
The up stream connection is a 2Mbit CDN. If you want I can send you a 
test with ftp, scp or whatever you want.
Max users are 10. This is my rsyncd.conf file:

**************************************************************************
uid = nobody
gid = nobody
use chroot = no
max connections = 10
pid file = /var/run/rsyncd.pid
motd file = /etc/rsync/rsyncd.motd
transfer logging = yes
log format = %t %a %m %f %b
syslog facility = local3
timeout = 300

[gentoo-x86-portage]
#this entry is for compatibility
path = /gentoo/rsync
comment = Gentoo Linux Portage tree


[gentoo-portage]
#modern versions of portage use this entry
path = /gentoo/rsync
comment = Gentoo Linux Portage tree mirror
exclude = distfiles
******************************************************************************

CPU is AMD Athlon K7 1700+
RAM 768 MByte

Regards,

--
Emmanuele Vigni - System/Network Administrator
Tecno Network S.r.l. gruppo Grenzor S.p.a.
via del Macello, 45 - 35013 Cittadella (PD)
Tel. 049 9403827 - Fax 049 5972892
Happy Slackware/Gentoo user!
Comment 3 Peter Penkala gentoo-dev 2003-06-04 12:13:11 UTC
> Started update at Wed Jun 4 15:30:02 CEST 2003
> @ERROR: max connections (7) reached - try again later

Are you certain that you're trying to sync with rsync1.us?
rsync1.us doesn't have a user limit.

Comment 4 Peter Penkala gentoo-dev 2003-06-04 13:55:32 UTC
From: Emmanuele Vigni <hostmaster@clappy.it>
To: pjp@gentoo.org
Subject: Re: [Bug 22203] New rsync mirror
Date: Wed, 04 Jun 2003 20:11:39 +0200
User-Agent: IMHO/0.98.3 (Webmail for Roxen)

Yes sure, this is my script:

#!/bin/bash

RSYNC="/usr/bin/rsync"
OPTS="--quiet --recursive --links --perms --times --devices --compress
--delete --timeout=600"
#Uncomment the following line only if you have been granted access to
rsync1.us.gentoo.org
SRC="rsync://rsync1.us.gentoo.org/gentoo-portage"
#If you are waiting for access to our master mirror, select one of our
mirrors to mirror from:
#SRC="rsync://rsync2.de.gentoo.org/gentoo-portage"
DST="/gentoo/rsync/"

echo "Started update at" `date` >> $0.log 2>&1
logger -t rsync "re-rsyncing the gentoo-portage tree"
${RSYNC} ${OPTS} ${SRC} ${DST} >> $0.log 2>&1

echo "End: "`date` >> $0.log 2>&1

-- 
Emmanuele Vigni - System/Network Administrator
Tecno Network S.r.l. gruppo Grenzor S.p.a.
via del Macello, 45 - 35013 Cittadella (PD)
Tel. 049 9403827 - Fax 049 5972892
Happy Slackware user!
Comment 5 Kurt Lieber (RETIRED) gentoo-dev 2003-06-04 14:33:45 UTC
what IP address does rsync1.us.gentoo.org resolve to?
Comment 6 Emmanuele Vigni 2003-06-06 10:50:31 UTC
128.193.0.34
Comment 7 Emmanuele Vigni 2003-06-11 04:29:24 UTC
Any news for my mirror?
Comment 8 Peter Penkala gentoo-dev 2003-07-29 16:09:52 UTC
Sorry for the delay, I had some connectivity problems in June and July.
I'm monitoring the server again and will let you know if there are any
issues.
Comment 9 Peter Penkala gentoo-dev 2003-08-05 20:15:55 UTC
I've added the server as rsync2.it.gentoo.org.  Please update your motd to 
include that info.  I've also subscribed hostmaster@clappy.it to our low 
volume mirrors mailing list.

Thanks for supportig Gentoo.