-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
The download task speed gradually becomes 0. #183
Comments
版本号多少啊 What is the version number |
主要针对 magnet 测试
但是如果单个任务下载成功率还是可以 目前排查方向
Mainly for magnet testing
But if the download success rate of a single task is still ok Current investigation direction
|
udp端口范围应该是没有限制的,底层用的是这个库:https://github.com/anacrolix/torrent |
补充,上面的资源我第二次下载一路高速冲刺到 100% Supplement, I downloaded the above resources for the second time and sprinted all the way to 100% |
先关闭了,和 torrent 库默认对多任务得支持有所关系,我得想想办法咋改 Close it first, it has something to do with the torrent library’s default support for multitasking, I have to find a way to change |
嗯嗯,加油少年! Mmmm, come on boy! |
发现了个情况,直接使用 Create 方法创建了10个BT任务,每个资源大小 2G->10G 不等
最开始任务添加 Listener 里面的任务还是有下载速度的,打印不为 0
speedInMB := float64(event.Task.Progress.Speed) / 1048576
随后过段时间一个个任务都会逐步变为 0,进度停止【有的任务下载百分之 15 开始没速度,还有 百分之 8,还有的百分之30,60的时候丢失进度】,但是如果重启任务又可以继续获得速度
很多大的资源经常会出现这个问题,不知道是否有思路提供排查
Found a situation, directly using the Create method to create 10 BT tasks, each resource size ranging from 2G->10G
At the very beginning, the task added to the Listener still has a download speed, and the print is not 0
speedInMB := float64(event.Task.Progress.Speed) / 1048576
After a period of time, each task will gradually become 0, and the progress will stop [some tasks download 15% and start to lose speed, there are still 8%, and others lose progress at 30% and 60%], But if you restart the task, you can continue to gain speed
Many large resources often have this problem. I don’t know if there is an idea to provide troubleshooting
The text was updated successfully, but these errors were encountered: