-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Low disk space check not working properly #43
Comments
The error messages are cleared after a while. There is no change in related code, so I don't think we have any issue there. By the way, maybe you applied the optimization I mentioned in Discord, and disabled the routine low disk space check (it is not useful when rTorrent pre-allocate space for the whole torrent). |
The torrents are stopped, though, so why would that routine run? rTorrent shouldn't be announcing stopped torrents... am I looking at the wrong routine?
I have not, solely because I haven't done enough research as to how it'll behave on ZFS. (My initial research showed that OpenZFS would only make a best case effort to assure that the size requested was available, so that's why I have preallocation disabled as a whole.) |
It seems that the error message is cleared after ~1 second, which I can see by polling Flood's torrent list API every second. I see that torrents are errored for one request, and then the error state is cleared on the next request. 🤔 In other cases, I don't see the error state at all, it goes straight to stopped + inactive. Restarting rTorrent properly sets the status for these torrents, though. |
rtorrent/src/command_events.cc
Lines 242 to 245 in b7ccf41
On v0.9.8-r16, I have not seen the "Low diskspace" error message more often than seeing it. Torrents stop successfully, and "Closed torrents due to low diskspace" is logged, it's just that I don't see the "Low diskspace" error message on the torrents. I do believe that I have seen it before, though.
The text was updated successfully, but these errors were encountered: