-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
Milestone
Description
See rakshasa/rtorrent#727 (comment)
- Use
d.free_diskspacein agreatercheck againstd.size_bytes - Use
math.subif 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_queuedhelp?) - test it with a
load.startschedule, whether any space is claimed before the trigger fires