Slow first sync after reboot (maybe because --track-renames?)

What is the problem you are having with rclone?

I use rclone to synchronize a mac with a NAS, via SSH.
The first sync after starting the mac is very slow, (high CPU usage, and about 60GB of RAM used, of course of the swap space). It takes more than three hours.

Then, the following synchronizations are really fast. One minute only, with hardly any CPU and RAM usage.

I think this is normal (maybe, due to the use of --track-renames?), I just want to confirm that this is the case.

Is there any way to speed up this first sync?

Run the command 'rclone version' and share the full output of the command.

rclone v1.59.1

  • os/version: darwin 12.5 (64 bit)
  • os/kernel: 21.6.0 (x86_64)
  • os/type: darwin
  • os/arch: amd64
  • go/version: go1.19
  • go/linking: dynamic
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

SSH to a NAS (in local LAN)

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone sync --copy-links --create-empty-src-dirs --track-renames --delete-excluded --local-no-check-updated --progress SRC nas:DEST

The rclone config contents with secrets removed.

[nas]
type = sftp
host = 10.0.1.250
user = root
key_file = /Users/username/.ssh/id_ed25519
md5sum_command = md5 -r
sha1sum_command = sha1 -r
shell_type = unix

A log from the command with the -vv flag

Paste  log here

hi,
no debug logs were posted, so hard to know for sure.

--- first sync, will always be slower as rclone has to transfer every file from source to dest.
--- second sync, rclone transfers a subset of files, changed and/or new files.

Yes, of course, everybody understands that.

I'm talking about a SRC and a DEST that are already synchronised.

ok, i misread your topic.

the issue occurs after reboots.

Agree, we need a log from the first sync after reboot to see what is happening - perhaps the -v flag is sufficient.

@vicmarto You can make it by adding --log-file="./logfile.txt" -v to your command

Without a log I can think of a dozen possibilities and waste a lot of everybody's time compared to the effort needed to make and post a log.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.