Problem in using rsync

Jan-Benedict Glaw jbglaw at lug-owl.de
Thu Jun 17 14:40:21 GMT 2004


On Thu, 2004-06-17 10:11:19 -0400, Anh Truong <transfert.curateur at courriel.gouv.qc.ca>
wrote in message <"436 04/06/17*/S=curateur/G=transfert/ORG=courriel/ADMD=gouv.qc/C=ca/"@MHS>:
> is always on the same filesystem, which is not the largest one but the one that has 
> the more files and directories (400 000 files as opposed to 600 for others). The 
> error message we have is:
> 
> -------------------
> io timeout after 600 seconds - exiting
> rsync error: timeout in data send/receive (code 30) at io.c(143)
> rsync: writefd_unbuffered failed to write 69 bytes: phase "unknown": Broken pipe
> rsync error: error in rsync protocol data stream (code 12) at io.c(836)
> --------------------
> The command used is:
> 
> OPTS="--delete --timeout=600 --exclude dbf/ --rsh=rsh"
> 
> /usr/bin/rsync -vRa $OPTS ORIGIN_DIRECT DESTINATION_DIRECT

rsync has to build *full* file lists (for source and for destination).
If this takes longer than your timeout, connection may break. If you put
enough pressure on the system, maybe gathering information for some
400000 files (multiply by two for source+destination) could take longer
than 10min (= 600sec).

> Can you help me on this???

I think it's just a performance problem to gather all neded information
in 10min. Try setting a higher timeout (like 7200sec = 2h) and have a
testdrive.

MfG, JBG
PS: With 16MB, you'd probably always run into timeout because of
constant swapping :)

-- 
   Jan-Benedict Glaw       jbglaw at lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/rsync/attachments/20040617/14d55a14/attachment.bin


More information about the rsync mailing list