Home > Command-Line, Open Source > Gentoo Rsync Problem

Gentoo Rsync Problem

This morning najib (najib_jedi) post some error to me. his gentoo machine cannot emerge smoothly. somehow it is stuck and this is the error he posted.

io timeout after 180 seconds — exiting
rsync error: timeout in data send/receive (code 30) at io.c(171) [receiver=2.6.8]
rsync: connection unexpectedly closed (3257572 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(465) [generator=2.6.8]

!!! Rsync has not successfully finished. It is recommended that you keep
!!! trying or that you use the ’emerge-webrsync’ option if you are unable
!!! to use rsync due to firewall or other restrictions. This should be a
!!! temporary problem unless complications exist with your network
!!! (and possibly your system’s filesystem) configuration.

so the keyword i found in the error is rsync error: timeout in data send/receive (code 30). the rsync function is incapable to do his job. this aybe because of the server error or something else. I suspect that the network is too slow is the cause.

my suggestion to him is to increase the RSYNC_TIMEOUT. so rsync have more time to complete his job. so i suggest him to add RSYNC_TIMEOUT=500 in /etc/make.conf. eg as below.

echo RSYNC_TIMEOUT=500 >> /etc/make.conf

Categories: Command-Line, Open Source
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: