Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge sync times out [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
chrism
Guru
Guru


Joined: 15 Jul 2004
Posts: 526

PostPosted: Tue Jan 31, 2006 10:06 pm    Post subject: emerge sync times out [solved] Reply with quote

Hi, my problem is that emerge --sync seems to time out. Is there any way I can increase the timeout for emerge sync?

Thanks,
Chris


Last edited by chrism on Thu Feb 09, 2006 2:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
stlpct706
n00b
n00b


Joined: 11 Apr 2005
Posts: 8
Location: St. Louis, MO

PostPosted: Tue Jan 31, 2006 10:19 pm    Post subject: Reply with quote

From the make.conf man page, you can add RSYNC_TIMEOUT="seconds" to make.conf.

Hope this helps.

Paul
Back to top
View user's profile Send private message
MickKi
Veteran
Veteran


Joined: 08 Feb 2004
Posts: 1173

PostPosted: Tue Jan 31, 2006 10:57 pm    Post subject: Re: emerge sync times out Reply with quote

yellowhippy wrote:
Hi, my problem is that emerge --sync seems to time out.
Do you mean like it will time out while it tries to connect to a server? If that is the case and you have no particular ISP connection problems then you may need to refresh your mirrors using mirrorselect. Otherwise I am not sure why it could time out.
_________________
Regards,
Mick
Back to top
View user's profile Send private message
chrism
Guru
Guru


Joined: 15 Jul 2004
Posts: 526

PostPosted: Wed Feb 01, 2006 5:09 pm    Post subject: Reply with quote

It just stops while downloading, hags there for about 300 secs. and then tells me it timed out.
If I increase the timeouttime to 3000 secs. It hangs there for 30000 secs and tells me it timed out.
And it's not allways the same position.


Chris
Back to top
View user's profile Send private message
stlpct706
n00b
n00b


Joined: 11 Apr 2005
Posts: 8
Location: St. Louis, MO

PostPosted: Wed Feb 01, 2006 9:17 pm    Post subject: Reply with quote

I'm sorry that didn't work. The only other things I could think of trying are changing your mirror and re-emerging rsync.

After that, I'm out of ideas.
Back to top
View user's profile Send private message
MickKi
Veteran
Veteran


Joined: 08 Feb 2004
Posts: 1173

PostPosted: Wed Feb 01, 2006 9:40 pm    Post subject: Reply with quote

Is emerge --sync the only case where downloading times out? What happens when you emerge a package with a big download (e.g. OOo, mozilla, etc.)? If it only happens in rsync then run # mirrorselect -d -s 5 and try emerge --sync again.

If it happens generally then it is an ISP/router issue. I'm not the right person to guess here, but it could be something to do with the keep alive packets between your PC/router/server. All things being equal default values of associated components in this chain should work fine (unless you've tweaked things . . .)
_________________
Regards,
Mick
Back to top
View user's profile Send private message
woZa
Guru
Guru


Joined: 18 Nov 2003
Posts: 340
Location: The Steel City - UK

PostPosted: Thu Feb 02, 2006 2:23 pm    Post subject: Reply with quote

I am having a similar problem. One day emerge sync was working fine, now it often hangs (with a timeout of 600).

I have tried changing the rsync server in /etc/make.conf
Code:
SYNC="rsync://rsync.gentoo.org/gentoo-portage" or
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

but still have the same problem. I read somewhere that rsync-2.6.1 or higher can give this problem but I am using 2.6.0-r6.

Strange...
_________________
A few months struggling with gentoo is better than a lifetime struggling with windoze!
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu Feb 02, 2006 6:03 pm    Post subject: Reply with quote

Perhaps something in the thread below helps you further
https://forums.gentoo.org/viewtopic-t-403159-highlight-emerge+sync+timeout.html
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
chrism
Guru
Guru


Joined: 15 Jul 2004
Posts: 526

PostPosted: Thu Feb 09, 2006 2:15 pm    Post subject: Reply with quote

Thanks, it is working now.

Chris
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum