Bug 4607 - --timeout: not counting correctly?
Summary: --timeout: not counting correctly?
Status: RESOLVED INVALID
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 2.6.9
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-10 04:11 UTC by Felix Kater
Modified: 2007-10-14 16:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Kater 2007-05-10 04:11:11 UTC
I am using rsync over ssh with --bwlimit=12 and have some files about 500MB to transfer.

Just for testing I set --timout 600 (10 minutes), however this did not terminate the rsync process.

I think this happens if rsync is about to copy/send a single large file--and it seems that --timeout is not considered while copying/sending a single large file, only in *between*.

Thank You
Comment 1 Wayne Davison 2007-10-14 16:10:45 UTC
I think you're misunderstanding the --timeout option.  Its purpose is to terminate rsync if something stalls.  As long as the transfer is proceeding, it will never timeout.

See the time-limit.diff patch in the patches dir if you want to put a limit on how long rsync can run.