Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Hash check on download completion found bad chunks, consider using "safe_sync" #585
When I start downloading torrents with rtorrent, I get these messages in journalctl:
Torrent download usually fails with the message:
Inactive: Hash check on download completion found bad chunks, consider using "safe_sync".
but when I add
Arch linux, rtorrent 0.9.6
Name of the command is changed, use:
Btw, which version do you use on what OS?
Thank you @chros73. After adding the above setting to rtorrent.rc I don't get the hash check failed error anymore, but torrents just stop at various stages of completion with the status "Inactive:" and no other message. I enabled logging:
and the log file is full of these messages:
(I replaced the real ip address with 255.255.255.255)
The way rTorrent and Transmission do file and network stuff is very different, and my client has exposed more than a few kernel bugs.
So when there are weird issues that only seem to happen for certain combinations of kernel versions and file systems, etc, I've learned to be a bit skeptic. This smells of a filesystem+mmap issue.
The log says the file size is limited to 3710935453, what is the size of the file on the filesystem and the torrent?
bře 26 12:59:42 localhost kernel: sdc1: rw=1, want=3884075360, limit=3710935453
Are you sure the partition is sized appropriately for the block device containing it? This "attempt to access beyond end of device" often happens if a partition is cloned from another disk with the same nominal size (in this case, 2 TiB) but a differing (less) total block count.