Luminarys / synapse

Synapse BitTorrent Daemon
https://synapse-bt.org
ISC License
855 stars 48 forks source link

Automatically pause on low disk #197

Open kpcyrd opened 4 years ago

kpcyrd commented 4 years ago

synapse may currently fill up the whole disk and crash. I'd prefer if synapse would take a "low disk threshold" and pause after that threshold is reached. The daemon should still remain responsive so things like sycli del -f can be used.

Luminarys commented 4 years ago

Do you know what sort of behavior induces a crash? I know at least for downloading torrents synapse should just give an error and stop downloading.

kpcyrd commented 4 years ago

I can copy the error message the next time this happens (hopefully it doesn't though!), but I'd actually prefer synapse to stop if free disk space goes below 3gb (this would be configurable of course), because fully running out of disk space would break other stuff running on that server as well. :)