-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Qbittorrent-nox rechecks/rehashes all torrents when restarted #2901
Comments
Currently it's libtorrent 1.0.4, but previously it was libtorrent 0.16.18. I tried compiling earlier versions of libtorrent but it says it's missing boost_system or something, even though it's not. 1.0.4 has non issues compiling. |
Okay I would suggest that this is starting to point to a libtorrent problem in v1.03 and above. |
I had this problem with libtorrent 0.16.18 as well. |
Can you check the contents of "BT_backup" folder? When you close qbt, are .fastresume files created in there? |
I just checked and there are .torrent and .fastresume files there. I started qbittorrent-nox and it resumed the torrents without problem. This is weird, because I tested last night and it was rechecking all the torrents once I restarted the service. Not sure what has changed but it appears to be working fine now. Strange. |
Can you share the script that starts/restarts/stops the qbt service? |
Your problem may arise during system shutdown if you have many torrents in qbt.
The above sends a SIGTERM signal to qbt which is ok. When qbt receives this, it starts shutting down by first trying to save the fastresume files. However this can take several seconds if you have many torrents. In fact even if you only 2-3 it may take at least 3 seconds to close. The above is just a speculation. I may be totally wrong. |
Considering I have over 500 torrents I think it's safe to say that's the problem. Thanks for the help! |
The man page for start-stop-daemon: http://manpages.ubuntu.com/manpages/lucid/en/man8/start-stop-daemon.8.html You should add |
I'm using qbittorrent-nox with the webui on a headless installation of debian.
I used the build through apt-get previously (3.1.10) and today I tried out 3.2.0beta and the issue is still there. This was also an issue when I was running qbittorrent-nox on my raspberry pi (raspbian).
Whether it's stopped by a loss of power, intended shutdown, daemon stopping, or "exit qbittorrent" in the webui menu, all torrents are forced to recheck when it's started again.
This is a huge problem for people with a lot or very large torrents (or both).
The text was updated successfully, but these errors were encountered: