Automatic pause on low disk space

Feature requests not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
ohhello
Posts: 1
Joined: Tue Dec 19, 2023 5:52 pm

Automatic pause on low disk space

Post by ohhello »

I want an option to automatically pause all torrents when on low disk space. It's really annoying to run out of disk space because macOS is being a bit silly about reported disk space an actual available disk space.

I wish therefore that the app could check available disk space and pause when there a specified amount (by user) GB/MB available.
darmok
Posts: 119
Joined: Tue Oct 16, 2007 9:14 pm
Location: New Jersey, USA

Re: Automatic pause on low disk space

Post by darmok »

Transmission already pauses torrents when there's insufficient space left on the volume. Are you suggesting an additional check?
killemov
Posts: 542
Joined: Sat Jul 31, 2010 5:04 pm

Re: Automatic pause on low disk space

Post by killemov »

darmok wrote: Thu Jan 04, 2024 8:20 am Transmission already pauses torrents when there's insufficient space left on the volume. Are you suggesting an additional check?
AFAIK Transmission pauses a torrent when a write to disk fails most commonly because the partition is full. The really bad things are that Transmission is stuck and that the last piece downloaded wasn't actually written to disk. So Transmission should have some low-water mark (64MB or configurable) to stop downloading pieces if disk allocation makes the free space fall below that low-water mark. The only real problem with that is with filesystems that support sparse files. You can allocate 1TB file on a disk with 1GB free space and use it as long as you don't write more than 1GB of actual data to that file. So Transmission should also have a setting that pre-allocates files and fills them with random data to account for compressing filesystems.

Follow discussion here.
Post Reply