I am trying to create an offsite backup using rsync and ssh in a MacOS environment. The problem is that at a random point during the transfer process, rsync will hang but never disconnect or throw an error. Viewing the active processes on the remote machine shows rsync and sshd start to use 0% CPU when this happens.
Here's an an example of the last line of verbose output before I quit the transfer using ^C:
<f+++++++ Audio/Sample Library/Kontakt Libraries/ANALOG STRINGS/Samples/AS_003.nkc
475.99K 100% 2.28MB/s 0:00:00 (xfer#4, to-check=310046/539375)
No error is thrown, and to start successfully transferring again, I have to reboot the remote machine.
Are there configurations I'm missing that can maintain a stable connection for a large rsync transfer?