qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
25.92k stars 3.83k forks source link

Pause + Resume = Stalled! #1875

Closed Papanikles closed 9 years ago

Papanikles commented 9 years ago

When I click on Pause and after click on Resume Qbittorrent take a long seconds to start a torrent. Instead of starting goes to the state "stalled" and take a long seconds for start. What is causing this slowness?

Video example: https://www.youtube.com/watch?v=wIdpetoxbvU

But if remove the torrent, add and resume start instantly. There must be some problem with the pause or resume functionality.

Note: Qbittorrent 3.1.9.2

chrishirst commented 9 years ago

And you never displayed the one thing that may have offered some clues,, the trackers page. Which. based on the peer counts remaining at 0 on resume would indicate that is where the problem (if there is one) may be occuring.

Papanikles commented 9 years ago

Ok, sorry.

I recorded other video with this page: https://www.youtube.com/watch?v=sfzNb7uNtdM

This happen on all torrents that I tested. If you add torrent in first time he is quick to start and make downloading. But if you put paused and resume take a lot to start the connections.

If you can please reproduce this scenario and check if is or not a bug. In utorrent this don't happen.

My OS is Windows 7 x64. I have port open, firewall with except, etc.

Other video with better example: https://www.youtube.com/watch?v=usQHgKhaahE

sledgehammer999 commented 9 years ago

Upstream bug: https://code.google.com/p/libtorrent/issues/detail?id=662

Does the same behavior happen with a public+popular torrent? (closing but you can continue commentint here)

Papanikles commented 9 years ago

I tested now on deluge 1.3.7 and this problem don't happen. And I tested Rtorrent on my seedbox and don't happen too. Both use libtorrent. I think the problem is on QBT source.

sledgehammer999 commented 9 years ago

rtorrent doesn't use libtorrent rasterbar, deluge IIRC uses the libtorrent 0.15.x

Papanikles commented 9 years ago

Ok, thank you for information. But you can see that with deluge don't have this problem. You can see here: https://www.youtube.com/watch?v=dPPaxozZouM

You have any version of QBT with lib 0.15 for test?

Papanikles commented 9 years ago

Deluge 1.3.7 use libttorrent 0.16.16. Please see: http://postimg.org/image/485vhn62f/