dwd at bell-labs.com
Thu May 9 10:57:21 EST 2002
On Wed, May 08, 2002 at 06:26:15PM +0200, Lataille Norbert wrote:
> I am using rsync to synchronize directories containing big files over a slow
> network (the link is based on GSM). Transfering one single file may need a
> few minutes.
> I use the optional parameter "--timeout=60", means to me that an IO operation
> should not last more than 1 min. However, what rsync does is that it dies
> (return value=30) as soon as _one_ file transfer meeds more than 1min
It is supposed to be per IO operation, but between some of the parts of
rsync there might be some operations that are really taking that long.
There was a rsync patch put in not too many versions back which disabled
a timeout on one of the parts that tended to sit around for a long time.
60 seconds sounds pretty short though.
> (everything works well if I set "--timeout=3600", which is not very secure
> for a production environement).
In what way is that not secure?
> I have looked at the archive and tried applying a patch from Neil
> (http://lists.samba.org/pipermail/rsync/2000-June/002466.html), but it didn't
> solve the problem. Is this bug a well-known issue ? Are there patches pending
> ? Before I start investigating further, do you have suggestions ?
Are you using the latest version of rsync?
- Dave Dykstra
More information about the rsync