Rclone is using 100% CPU - What am I doing wrong?!


LeoT
Go to solution Solved by LeoT,

Recommended Posts

I somehow can't post into 'Plugin Support'... That is why it's here...

 

I need some help....

 

I set up a rclone instance, cloning all my data to Google Drive. So far it's running flawlessly except for the CPU usage. 

As soon as I hit the "Run in Background" button of the "CA User Scripts" Plugin, my CPU ramps up to nearly constant 100%...

 

I know that I don't have the best CPU, but 100% does not feel right.

Btw. I can't stop the script by aborting it through the  "CA User Scripts" Plugin. I always have to restart the entire server...

 

I'm running the following script inside the  "CA User Scripts" Plugin. Much appreciate your Help!

 

#!/bin/bash
echo GoogleDrive SYNC wurde gestartet:
rclone sync /mnt/user/SOURCE NAS-SYNC: -P --progress-terminal-title --max-transfer=700G --retries 15 --retries-sleep=1800s --transfers=2 --checkers=4
echo GoogleDrive SYNC wurde erfolgreich beendet.

Bildschirmfoto 2022-02-21 um 17.43.31.png

Link to comment
  • Solution

I don't know what was wrong... But now everything runs smoothly using the following command:

 

rclone sync --update --verbose --transfers 10 --checkers 8 --contimeout 60s --timeout 300s --retries 3 --low-level-retries 10 --stats 1s /mnt/user/SOURCE GoogleDrive:Destination

 

FYI: when adding

 --exclude "._*" --exclude ".DS_Store"

rclone stops uploading those random Mac generated files... 

 

CPU load is totally fine now:

865668767_Bildschirmfoto2022-02-24um12_47_30.png.00fb8de5d4f6fd2cbdd64034e7d53d3a.png

Edited by LeoT
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.