Skip to content

Feature Request Flag '--min-bandwidth' #2122

Closed as not planned
Closed as not planned

Description

@2600box

sometimes rclone transfers can stall to 80k/s or thereabouts without failing, and therefore retrying.

a --min-bandwidth flag could be used to enforce a reasonable minimum of say 2MB/s to ensure that anything dropping below that is considered failed and retries.

see brief discussion with Nick here: https://forum.rclone.org/t/gdrive-uploads-sometimes-stall-and-require-restart

Activity

  1. added this to the Soon milestone on Mar 12, 2018
  2. hongkongkiwi commented on May 14, 2020

    @hongkongkiwi

    Hi, just wondering if there's still plans for this? I'm having the same issue and am running via an automated script, so a min bandwidth would help to kill the process if it stalls out.

    At the moment I've put a "timeout" command in front of rclone to hard kill it if it takes a stupid amount of time (e.g. 4 hours)

  3. ncw commented on May 14, 2020

    @ncw
    Member

    It is just waiting for some time or a volunteer. Would you like to help @hongkongkiwi ? Happy to walk through what needs to be done.

  4. modified the milestones: Soon, Help Wanted on Nov 15, 2020
  5. ivandeex commented on Nov 15, 2020

    @ivandeex
    Member

    Duplicate of #887

  6. ivandeex commented on Feb 14, 2021

    @ivandeex
    Member

    From #887 (merging in here):

    I noticed the google-drive-ocamlfuse project has configurable options for low_speed_limit and low_speed_time (https://github.com/astrada/google-drive-ocamlfuse/wiki/Configuration).
    It would useful for rclone to have a similar option.

  7. eharris commented on Nov 13, 2021

    @eharris
    Contributor

    I am also experiencing unexplained stall events when uploading to Opendrive where the transfer rate will go to zero and just sit there, never progressing. It would be really useful to have an option for rclone to have a global transfer time limit (like --stall-timeout 1m30s) after which if no progress has been made in the transfer it will abandon it and potentially try again or exit so it can be restarted. But I like the idea for a combination of options (like --stall-timeout 1m30s --stall-min-bw 50k) as that seems even more flexible.

  8. ElDavoo commented on Sep 7, 2022

    @ElDavoo
    Contributor

    This would be nice

  9. helixzz commented on Dec 1, 2022

    @helixzz

    I'm experiencing stalls too when downloading data from distant SFTP servers via Internet. The transfer rate may reach ~500Mbps at first using --transfers 8, but it drops across time and likely to stall at several bytes per second which is totally unacceptable. Simply terminate the transfer and retry rclone command can make it fast again (for a few hours, or at least for several minutes...).

    So it will be really cool if there will be options like --stall-min-bw and --stall-timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions