Perhaps someone can shed some light on the problem I'm having using rsync 2.4.6. I'm getting the following error: receiving file list ... done htdocs/acescounseling/logs/ htdocs/adihome/logs/ . . htdocs/coupons/logs/error_log htdocs/court/logs/combined_log htdocs/cowgirl/logs/combined_log htdocs/cowgirl/logs/error_log htdocs/cowgirl/logs/ssl_log Connection to nova closed by remote host. unexpected EOF in read_timeout The rsync commands I'm using in a script are listed below. The first four complete with no errors; it's the last one (htdocs, which contains the Apache virtual directories) that errors out. (With over 300 virtuals, htdocs has quite a few files, some of them large log files.) /usr/local/bin/rsync -avzur --timeout=600 --delete -e ssh nova:/etc /tmp/ /usr/local/bin/rsync -avzur --timeout=600 --delete -e ssh nova:/usr/home /usr/ /usr/local/bin/rsync -avzur --timeout=600 --delete -e ssh nova:/root/.pgp /root/ /usr/local/bin/rsync -avzur --timeout=600 --delete -e ssh nova:/var/db/mysql /va r/db/ /usr/local/bin/rsync -avzur --timeout=600 --delete -e ssh nova:/usr/local/apache /htdocs /usr/local/apache/ Oddly, it sometimes manages to complete all the htdocs directories, but that's becoming more and more infrequent. Any ideas? .\\ichelle --------------------- Michelle Brownsworth System Administrator PrimeLogic Communications http://www.primelogic.com
The 2.4.7pre1 release fixes this problem quite well, at least for me. Carey> -----Original Message----- > From: rsync-admin@lists.samba.org [mailto:rsync-admin@lists.samba.org]On > Behalf Of Michelle Brownsworth > Sent: Thursday, September 06, 2001 3:30 PM > To: rsync@lists.samba.org > Subject: unexpected EOF in read_timeout > > > Perhaps someone can shed some light on the problem I'm having using > rsync 2.4.6. I'm getting the following error: > > receiving file list ... done > htdocs/acescounseling/logs/ > htdocs/adihome/logs/ > . > . > htdocs/coupons/logs/error_log > htdocs/court/logs/combined_log > htdocs/cowgirl/logs/combined_log > htdocs/cowgirl/logs/error_log > htdocs/cowgirl/logs/ssl_log > Connection to nova closed by remote host. > unexpected EOF in read_timeout > > The rsync commands I'm using in a script are listed below. The first > four complete with no errors; it's the last one (htdocs, which > contains the Apache virtual directories) that errors out. (With over > 300 virtuals, htdocs has quite a few files, some of them large log > files.) > > /usr/local/bin/rsync -avzur --timeout=600 --delete -e ssh nova:/etc /tmp/ > /usr/local/bin/rsync -avzur --timeout=600 --delete -e ssh > nova:/usr/home /usr/ > /usr/local/bin/rsync -avzur --timeout=600 --delete -e ssh > nova:/root/.pgp /root/ > /usr/local/bin/rsync -avzur --timeout=600 --delete -e ssh > nova:/var/db/mysql /va > r/db/ > /usr/local/bin/rsync -avzur --timeout=600 --delete -e ssh > nova:/usr/local/apache > /htdocs /usr/local/apache/ > > Oddly, it sometimes manages to complete all the htdocs directories, > but that's becoming more and more infrequent. > > Any ideas? > > .\\ichelle > --------------------- > Michelle Brownsworth > System Administrator > PrimeLogic Communications > http://www.primelogic.com > > >
Sadly, I don't seem to be having any better luck with 2.4.7pre1: su-2.05# ./rsync_nova.sh receiving file list ... done wrote 16 bytes read 6620 bytes 13272.00 bytes/sec total size is 1309032 speedup is 197.26 receiving file list ... done wrote 16 bytes read 4458 bytes 2982.67 bytes/sec total size is 6037628 speedup is 1349.49 receiving file list ... done wrote 16 bytes read 450 bytes 932.00 bytes/sec total size is 34693 speedup is 74.45 receiving file list ... done mysql/kendall/car.MYD Connection to nova closed by remote host. rsync: connection to server unexpectedly closed (26372 bytes read so far) rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229) rsync error: received SIGUSR1 or SIGINT (code 20) at main.c(693) .\\ichelle --------------------- Michelle Brownsworth System Administrator PrimeLogic Communications http://www.primelogic.com
Michelle: I get the same sort of results. Solaris 7, rsync 2.4.6, with the nohang patches, or with 2.4.7pre1. If you trace the execution, you'll probably find i/o errors. I can't find out what they are, and would expect the kernel to take care of any disk or network errors, leaving me wondering what rsync is choking on. We've got all the latest patches to Solaris, so i'm pretty sure it's not a case of rsync overstressing the tcp implementation, especially as i bwlimit the transfer to 1000kbps. I've got 2328543 objects (files, directories, symlinks) in 116473553K, on NAS at each end, reached by NFS. I have to break my jobs up into smaller chunks, which makes it hard to have it delete things. Anybody else have any ideas? Tim Conway tim.conway@philips.com 303.682.4917 Philips Semiconductor - Longmont TC 1880 Industrial Circle, Suite D Longmont, CO 80501 Available via SameTime Connect within Philips Available as n9hmg on AIM perl -e 'print pack(nnnnnnnnnnnn, 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), ".\n" ' "There are some who call me.... Tim?" Michelle Brownsworth <mdb@primelogic.com>@lists.samba.org on 09/10/2001 06:34:16 PM Sent by: rsync-admin@lists.samba.org To: rsync@lists.samba.org cc: (bcc: Tim Conway/LMT/SC/PHILIPS) Subject: RE: unexpected EOF in read_timeout Classification: Sadly, I don't seem to be having any better luck with 2.4.7pre1: su-2.05# ./rsync_nova.sh receiving file list ... done wrote 16 bytes read 6620 bytes 13272.00 bytes/sec total size is 1309032 speedup is 197.26 receiving file list ... done wrote 16 bytes read 4458 bytes 2982.67 bytes/sec total size is 6037628 speedup is 1349.49 receiving file list ... done wrote 16 bytes read 450 bytes 932.00 bytes/sec total size is 34693 speedup is 74.45 receiving file list ... done mysql/kendall/car.MYD Connection to nova closed by remote host. rsync: connection to server unexpectedly closed (26372 bytes read so far) rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229) rsync error: received SIGUSR1 or SIGINT (code 20) at main.c(693) .\\ichelle --------------------- Michelle Brownsworth System Administrator PrimeLogic Communications http://www.primelogic.com
>>>>> On Thu, 6 Sep 2001 13:29:59 -0700, Michelle Brownsworth <mdb@primelogic.com> said:Michelle> Perhaps someone can shed some light on the problem I'm Michelle> having using rsync 2.4.6. I'm getting the following error: Michelle> Connection to nova closed by remote host. unexpected EOF in Michelle> read_timeout I get this when the destination disk is full... By the way, it should be great to improve the message in such a case... :-) -- Ronan KERYELL |\/ Labo Informatique T?l?com |/) Tel: (+33|0) 2.29.00.14.15 ENST Bretagne, BP832 K Fax: (+33|0) 2.29.00.12.82 29285 BREST CEDEX |\ E-mail: Ronan.Keryell@enst-bretagne.fr FRANCE | \ http://www-info.enst-bretagne.fr/~keryell
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
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@jeuxvideo.com> To: <rsync@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 smallfiles ).> > 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 > > >
Reasonably Related Threads
- another icecast2 question
- unexpected EOF in read_timeout (was Re[2]: [Fwd: Re: meaning of "IO Error: skipping the delete...."]])
- rsync dead loop (almost) forever in read_timeout() if remote host down
- unexpected EOF in read_timeout (was Re[2]: [Fwd: Re: meaning of "IO Error: skipping the delete...."]])
- rsync client and server processes, all hanging in read_timeout()