Ticket #962 (new defect)
rtorrent often incorrectly discards valid data blocks
|Reported by:||email@example.com||Owned by:||rakshasa|
Initialy I thought my bug is similar to #95, but after some thinking I decided it's different.
I use rtorrent since version 0.5 and there was a time when this bug was not present. But starting with some version (alas, I can't remember which exactly) the following bug happens with almost every file I download:
The file completes download, then a full hash check goes on, and rtorrent says the file is just 60% complete, and starts to re-download the "wrong" parts. Then I stop the torrent and restart it again - hash checking goes on and voila - I have 90% of valid blocks, without downloading a single byte (okay, without downloading a single megabyte).
My rtorrent.rc with comments stripped (btw the damn max_open_files=256 bug hit me too, so it's commented out):
min_peers = 40 max_peers = 100 max_uploads = 50 download_rate = 30 upload_rate = 50 directory = /mnt/8/rtorrent/files session = /mnt/8/rtorrent/session schedule = watch_directory,5,5,load_start=/mnt/8/rtorrent/watch/*.torrent ip = XXXXXXXXXXXXX bind = XXXXXXXXXXXXX port_range = 40000-49999 port_random = yes check_hash = yes use_udp_trackers = yes encoding_list = cp1251 safe_sync = yes