monotorrent icon indicating copy to clipboard operation
monotorrent copied to clipboard

Download Speed Gradually Drops to 0

Open kaedei opened this issue 5 months ago • 4 comments

In the latest version, if multiple download tasks (e.g., >5) are added simultaneously, the download speed for all tasks gradually drops to 0 after some time. This often happens after the first task is completed or when the remaining tasks are about 50% done.

I reviewed the recently updated code but haven't pinpointed the exact location or possible cause of the issue.

I tried rolling back the repository to versions from September 11, 2024, September 7, 2024, August 30, 2024, August 19, 2024, and August 10, 2024. I found that the batch download function works normally without the speed dropping to 0 only when I rolled back to the August 10, 2024 version (f9b120fe929353f5a27868dc4c38aac02c4b1434).

I looked through the nearby commits and suspect that https://github.com/alanmcgovern/monotorrent/commit/9a6db98878b74f26092f6ebd8940d914e3549a95 might be causing the issue, but I couldn't identify any problems in the code and am not sure if this judgment is correct.

kaedei avatar Sep 13 '24 05:09 kaedei