rsync pauses

Leen Besselink leen at
Wed Aug 31 09:32:12 MDT 2011

On 08/31/2011 04:38 PM, Justin T Pryzby wrote:
> I assume it's doing I/O, you can start a strace on the process to see
> for sure.  Note that the rsync client usually forks a few times, so
> you may want to strace all of them (strace -p X -p Y -p Z), or launch
> the command under strace (strace -f CMD ARGS). 


Well, I do have 2 hints.

You have to remember, it could be on either side that it is doing the I/O

And it could be other I/O on the same system which is slowing it down.

My guess is, if you have '-v --progress' and you rsync to an empty
directory, you might not find that it would pause.

Just adding --progress might give you the information you are looking
for already anyway.

> Justin
> On Wed, Aug 31, 2011 at 07:09:35PM +0900, David Somers-Harris wrote:
>> rsync pauses during transfers. That is, while I'm watching the verbose
>> output, it will run through lots of files and then pause at an arbitrary
>> point and do nothing for around 3-15 minutes and then it will pick up again.
>> I'm using both -v and --stats. Why would this be? Is it scanning the
>> directory?
>> Both source and destination have rsync 3.0.8 and FreeBSD 8

More information about the rsync mailing list