unexpected EOF in read_timeout

Dave Dykstra dwd at bell-labs.com
Sat Feb 2 01:48:29 EST 2002


That error message can be caused by anything which causes the remote side
to go away, so it's not very helpful.  The server's log file may have more
information.  It is possible that you're running out of RAM as is
susggested in that FAQ-O-Matic thread; rsync uses up some memory for every
file in a run, so if you can split it up into smaller transfers that can
help a lot.  Watch the available RAM & swap space on the server side during
a transfer.

- Dave Dykstra

On Fri, Feb 01, 2002 at 11:15:36AM +0100, David Bordas wrote:
> Other things :
> client disk not full :
> /dev/hdb2             29412000  16321084  11596872  58% /backup
> 
> I also had RAM to client : 128MB => 256 MB on an intel celeron 600Mhz.
> 
> This error isn't due to a network error 'cause this happened again and again
> each night ...
> 
> The rsync client is running via cron and on the server i connect to a daemon
> ( rsync --daemon )
> 
> error :
> << rsync: read error: Connexion reset by peer
> rsync error: error in rsync protocol data stream (code 12) at io.c(151)
> rsync: connection unexpectedly closed (5415230 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at io.c(139) >>
> 
> and happen when reading a folder on the server which contain such as 70 000
> différent files !!
> 
> I also try to remove the -z but seems not to solve anything ...
> 
> :(
> 
> ----- Original Message -----
> From: "David Bordas" <bordas at jeuxvideo.com>
> To: <rsync at lists.samba.org>
> Sent: Friday, February 01, 2002 9:38 AM
> Subject: unexpected EOF in read_timeout
> 
> 
> > I've got this when i backup my server ( like 3GB and lots of small
> files ).
> >
> > i've read this :
> > http://rsync.samba.org/rsync/fom-serve/cache/73.html.
> >
> > i launch rsync like this :
> > rsync -avrpogtzH --rsync-path=/usr/local/bin/rsync --timeout=0
> > IP_SERVER::cgi-bin /backup
> >
> > and also have error like this :
> > read error: Connection reset by peer
> > unexpected EOF in read_timeout
> >
> > I try rsync 2.4.5, 2.4.6 and 2.5.1 and always the same thing.
> >
> > Both client and server are running linux redhat.
> >
> > I don't know what to do now :(
> >
> > Thanks
> > David
> >
> >
> >
> 
> 
> 
> 




More information about the rsync mailing list