Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge --sync issue on only one comp on LAN
Date: Tue, 01 Oct 2013 14:30:48
Message-Id: 524ADB77.3050405@gmail.com
In Reply to: [gentoo-user] emerge --sync issue on only one comp on LAN by Bruce Hill
1 On 01/10/2013 16:20, Bruce Hill wrote:
2 > There are 3 (or more) computers which sync (sometimes daily) on my LAN at
3 > work: server, router, and workstation. server has issues almost all the time
4 > getting a rsync server (for lack of better way to state it). All three comps
5 > have the exact same SYNC in make.conf:
6 >
7 > mingdao@server ~ $ grep SYNC /etc/make.conf
8 > SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
9 >
10 > mingdao@router ~ $ grep SYNC /etc/portage/make.conf
11 > SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
12 >
13 > mingdao@workstation ~ $ grep SYNC /etc/portage/make.conf
14 > SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
15
16
17 Most likely obvious cause:
18
19 You have outbound firewall rules on your server/router affecting the server.
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35 >
36 > When I first noticed, it was that with the same command (alias ud) run on each
37 > computer, server *always* took a good deal longer than workstation and router.
38 >
39 > Here's the output from the emerge --sync portion of my "ud" alias today:
40 >
41 > alias ud='eix-sync && emerge -aDjuv --changed-use @world && dispatch-conf && emerge -a --depclean && revdep-rebuild -i && clear && exit'
42 >
43 > server ~ # ud
44 > * Running emerge --sync
45 >>>> Synchronization of repository 'gentoo' located in '/usr/portage'...
46 >>>> Starting rsync with rsync://128.61.111.9/gentoo-portage...
47 >>>> Checking server timestamp ...
48 > timed out
49 > rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [Receiver=3.0.9]
50 >>>> Retrying...
51 >
52 >
53 >>>> Starting retry 1 of 9 with rsync://209.59.138.21/gentoo-portage
54 >>>> Checking server timestamp ...
55 > timed out
56 > rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [Receiver=3.0.9]
57 >>>> Retrying...
58 >
59 >
60 >>>> Starting retry 2 of 9 with rsync://128.175.60.112/gentoo-portage
61 >>>> Checking server timestamp ...
62 > timed out
63 > rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [Receiver=3.0.9]
64 >>>> Retrying...
65 >
66 >
67 >>>> Starting retry 3 of 9 with rsync://129.21.171.98/gentoo-portage
68 >>>> Checking server timestamp ...
69 >
70 > receiving incremental file list
71 > timestamp.chk
72 >
73 > Number of files: 1
74 > Number of files transferred: 1
75 > Total file size: 32 bytes
76 > Total transferred file size: 32 bytes
77 > Literal data: 32 bytes
78 > Matched data: 0 bytes
79 > File list size: 27
80 > File list generation time: 0.001 seconds
81 > File list transfer time: 0.000 seconds
82 > Total bytes sent: 98
83 > Total bytes received: 140
84 >
85 > sent 98 bytes received 140 bytes 158.67 bytes/sec
86 > total size is 32 speedup is 0.13
87 >
88 > receiving incremental file list
89 >
90 >
91 >
92 >
93 > router ~ # ud
94 > * Running emerge --sync
95 >>>> Synchronization of repository 'gentoo' located in '/usr/portage'...
96 >>>> Starting rsync with rsync://208.100.4.53/gentoo-portage...
97 >>>> Checking server timestamp ...
98 >
99 > Welcome! This is a gentoo-portage and CentOS mirror, hosted by
100 > Steadfast Networks!
101 >
102 > http://steadfast.net
103 >
104 > Hostname: mirror.steadfast.net & rsync11.us.gentoo.org
105 > IP Addresses: 208.100.4.53 & 2607:f128:1:3::2
106 > Location: Chicago, IL, US
107 > Bandwidth: 1000 Mbps
108 > Hardware: Dual Opteron 2212, 8 GB RAM
109 > User Limit: 40
110 >
111 > If you experience any trouble with this mirror, please contact
112 > mirror@×××××××××.net.
113 >
114 > receiving incremental file list
115 > timestamp.chk
116 >
117 > Number of files: 1
118 > Number of files transferred: 1
119 > Total file size: 32 bytes
120 > Total transferred file size: 32 bytes
121 > Literal data: 32 bytes
122 > Matched data: 0 bytes
123 > File list size: 27
124 > File list generation time: 0.001 seconds
125 > File list transfer time: 0.000 seconds
126 > Total bytes sent: 98
127 > Total bytes received: 570
128 >
129 > sent 98 bytes received 570 bytes 445.33 bytes/sec
130 > total size is 32 speedup is 0.05
131 >
132 > Welcome! This is a gentoo-portage and CentOS mirror, hosted by
133 > Steadfast Networks!
134 >
135 > http://steadfast.net
136 >
137 > Hostname: mirror.steadfast.net & rsync11.us.gentoo.org
138 > IP Addresses: 208.100.4.53 & 2607:f128:1:3::2
139 > Location: Chicago, IL, US
140 > Bandwidth: 1000 Mbps
141 > Hardware: Dual Opteron 2212, 8 GB RAM
142 > User Limit: 40
143 >
144 > If you experience any trouble with this mirror, please contact
145 > mirror@×××××××××.net.
146 >
147 > receiving incremental file list
148 >
149 >
150 >
151 >
152 > workstation ~ # ud
153 > * Running emerge --sync
154 >>>> Synchronization of repository 'gentoo' located in '/usr/portage'...
155 >>>> Starting rsync with rsync://209.221.142.124/gentoo-portage...
156 >>>> Checking server timestamp ...
157 > Gentoo Portage/CPAN rsync mirror
158 > Server: gentoo.llarian.net & cpan.llarian.net
159 > IP(s): 209.221.142.124 & 2001:5d8:11::13
160 > Bandwidth: 1000Mbps via multiple carriers
161 > User Limit: 30
162 > Location: Seattle, WA, USA
163 > Admin Contact: Dylan Vanderhoof <llarian@×××××××.net>
164 >
165 >
166 > receiving incremental file list
167 > timestamp.chk
168 >
169 > Number of files: 1
170 > Number of files transferred: 1
171 > Total file size: 32 bytes
172 > Total transferred file size: 32 bytes
173 > Literal data: 32 bytes
174 > Matched data: 0 bytes
175 > File list size: 27
176 > File list generation time: 0.001 seconds
177 > File list transfer time: 0.000 seconds
178 > Total bytes sent: 98
179 > Total bytes received: 392
180 >
181 > sent 98 bytes received 392 bytes 326.67 bytes/sec
182 > total size is 32 speedup is 0.07
183 > Gentoo Portage/CPAN rsync mirror
184 > Server: gentoo.llarian.net & cpan.llarian.net
185 > IP(s): 209.221.142.124 & 2001:5d8:11::13
186 > Bandwidth: 1000Mbps via multiple carriers
187 > User Limit: 30
188 > Location: Seattle, WA, USA
189 > Admin Contact: Dylan Vanderhoof <llarian@×××××××.net>
190 >
191 >
192 > receiving incremental file list
193 >
194 >
195 >
196 >
197 > Can anyone see something obvious, or tell me where to begin checking or
198 > something to change?
199 >
200 > Cheers,
201 > Bruce
202 >
203
204
205 --
206 Alan McKinnon
207 alan.mckinnon@×××××.com