Change rclone chunk size for Cloud Sync

I’m using Dragonfish-24.04.2.5

I’m using Cloud Sync to backup to Back Blaze. I’m running out of memory because it appears that rclone is using 500MB chunk sizes.

Here’s a snippet from the config used for rclone (found in a file in /tmp which was in turn found from look in /proc/<pid>/cmdline):

[remote]
chunk_size = 500M
upload_cutoff = 500M

I’m using 2 transfers (verified by looking in /prod/<pid>/cmdline where I see --transfers 2)

I’d like to turn this down to something more reasonable, so I don’t run out of memory. I only have 16 GB of memory, and rclone is currently taking about 5GB of resident memory.

The Back Blaze TrueNAS integration guide (that I cannot post a link to) seems to suggest that under advanced settings I should be able to set the chunk size, but I don’t have that option in my GUI.

Where can I change the chunk size?

Thanks!
Brett

I upgraded to 25.04, and still no chunk size on the CloudSync form.

I poked around in the typescript files, and I know nothing about typescript or web guis in general…but it looks like there’s an option to disable the chunk_size field, along with some of the others:

 const taskSchemas = ['task_encryption', 'fast_list', 'chunk_size', 'storage_class'];
 for (const i of taskSchemas) {
  const toBeDisable = !(_.findIndex(taskSchema, { property: i }) > -1);
  if (i === 'task_encryption' || i === 'fast_list' || i === 'chunk_size' || i === 'storage_class') {
    if (toBeDisable) {
      this.form.controls[i].disable();
    } else {
      this.form.controls[i].enable();
    }   
  }   
}

Wild guesses:

Maybe the chunk_size field on the CloudSync form is getting disabled?

Maybe chunk_size is set to 500MB because I set this task up with an older version of TN that had the chunk_size field enabled?