Skip to content

config: Add disk space check for any new item #70

@pyroscope

Description

@pyroscope

See rakshasa/rtorrent#727 (comment)

  • Use d.free_diskspace in a greater check against d.size_bytes
  • Use math.sub if available to keep a reserved amount free
  • stop the item in its tracks (+ log that) if disk space is low, and set it to prio=0 (to avoid further auto-starts by other config or cron)
  • there is a problem regarding other items that still fit, get started, and in sum eat up all disk space – so possibly force sychronized disk allocation when disk free gets near the reserved space (does f.set_create_queued help?)
  • test it with a load.start schedule, whether any space is claimed before the trigger fires

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions