Connection reset by peer under Linux ( Add )
bordas at jeuxvideo.com
Mon May 6 00:15:03 EST 2002
> > All server are running rsync 4.6.xx installed from a red-hat rpm.
> > All OS are Linux red hat on intel platform.
> > On client i tried the same rpm, or several tar.gz version from 2.4.6 to
> > 2.5.5.
> > I've also tried the "Patch to avoid 'Connection reset by peer' error for
> > rsync on cygwin" found in the list.
> > I know that i'm not using cygwin but i won't to give it a try withou any
> > luck ...
> > Client is like this : intel celeron 600 + 256 Mo of SDRAM and 2 * 30 Go
> > 7200tr UDMA drives.
> > All drive have at least 15 Go free space.
> > Internet connection : 1.2Mb ADSL permanent.
> > The most common "Connection reset by peer" appear when backuping big
> > text files like SQL dump. Each dump is around 600MB.
> > All server are running rsync as a daemon and client is connecting to
> > like this :
> > /usr/local/bin/rsync -avrpogtzH --timeout=3600 XXX.XXX.XXX.XXX::backup
> > /unit2/backup/
> > I also have a look to rsync daemon error log on server and i can see
> > something like this :
> > << 2002/04/10 04:50:47  transfer interrupted (code 11) at
> > 2002/04/10 04:56:59  transfer interrupted (code 30) at
> > io.c(65) >>
> Code 11 is "IO error", code 30 is "timeout". (2.5 gives better error
> messages including this text.)
> So it seems the server suspects a timeout or disk/network io error,
> and is closing the connection. Unfortunately it is a bit hard to tell
> from here what exactly is causing those errors to occur. (Better
> error reporting is a priority for me in the near future.)
> You could try installing 2.5.5 on the server, perhaps running on a
> different tcp port using the --port option.
So i try 2.5.5 as server, this is new error message :
2002/05/04 04:55:58  transfer interrupted (code 11) at main.c(295)
2002/05/06 05:35:14  reverse name lookup failed
2002/05/06 05:35:14  forward name lookup failed
This is stange because i'm backuping from a cron shell script like this
rynsc -a ...
rsync -a ....
And some rsync work well without name lookup failed and some not :(
I also try to add Ram to client 256 => 384 Mo and also the same thing.
Thanks in advance
More information about the rsync