-1

I'm running on Ubuntu 18.04 and the rsync command takes a long time to start. Given a file to transfer of 0 byte, it still takes more than 5 seconds to transfer.

Version of rsync: 3.1.2

time rsync rsync://192.168.0.105/small_file test
real    0m5.145s
user    0m0.000s
sys 0m0.003s

I've checked:

  • testing different options of rsync
  • using another Ubuntu 18.04 with same version of rsync: the transfer takes less than 100ms
  • using ssh, ping or scp to test if the network is slow: nothing wrong
  • the DNS resolution delay is ok
  • ram & cpu are ok

I'm running out of ideas to check and the verbose mode (-v) is not helpfull

Any idea of what the problem could be ? Or how I could debug it ?

Thanks !

1 Answers1

0

The problem was solved by setting the reverse lookup settings to no in the rsync daemon.

Jeff Schaller
  • 67,283
  • 35
  • 116
  • 255