Comments (20)
There is --bt-tracker-interval option. --bt-request-peer-speed-limit option may also help if you mind low speed.
from aria2.
Thank you, I will try those options.
from aria2.
Nope, It still dies after a few hours, connections go back to zero, and when I pause&continue, I have 145 shortly after.
I'm using these settings:
bt-request-peer-speed-limit=100K
bt-tracker-interval=1200
from aria2.
With DHT and tracker enabled, and assuming you are downloading torrent, not seeding, it is very strange that there is no connection. Could you grab aria2 log and check that tracker announce is made correctly?
Because this issue needs few hours to occur, log file gets too big. So you can enable logging after the connection becomes 0 using RPC command and wait for tracker announce (minimum 1200+ secs for your settings).
To enable logging via RPC, you can do it using aria2rpc:
doc/xmlrpc/aria2rpc changeGlobalOption -l /tmp/log.txt
from aria2.
Ok, I will do that next time I encounter the problem, but what about log
level? Most of my current logs are errors about not supporting UDP protocol.
On 22 January 2013 13:40, Tatsuhiro Tsujikawa [email protected]:
With DHT and tracker enabled, and assuming you are downloading torrent,
not seeding, it is very strange that there is no connection. Could you grab
aria2 log and check that tracker announce is made correctly?
Because this issue needs few hours to occur, log file gets too big. So you
can enable logging after the connection becomes 0 using RPC command and
wait for tracker announce (minimum 1200+ secs for your settings).
To enable logging via RPC, you can do it using aria2rpc:doc/xmlrpc/aria2rpc changeGlobalOption -l /tmp/log.txt
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/41#issuecomment-12542690.
from aria2.
Thank you. The debug level log is very helpful for debugging.
from aria2.
Sure, I will include debug information also.
On 22 January 2013 14:05, Tatsuhiro Tsujikawa [email protected]:
Thank you. The debug level log is very helpful for debugging.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/41#issuecomment-12543417.
from aria2.
Ok, this happened again, I've executed the command to save the log, I will wait at least 20 minutes and then post it here.
from aria2.
Where should I send you the logs? There's 4M of them.
from aria2.
Compressed logs are here, starting around 10.53am to around 11.20. I've paused&unpaused Darksiders2 around 11.18, and two minutes later it was going full speed. There may be some noise from the RPC, since I've checked the webui a few times.
from aria2.
Full config:
continue
dir=/home/kuba/Downloads
file-allocation=falloc
max-connection-per-server=4
min-split-size=5M
enable-rpc
enable-dht
bt-save-metadata
rpc-save-upload-metadata
force-save
bt-seed-unverified
bt-max-peers=0
bt-request-peer-speed-limit=100K
bt-tracker-interval=1200
save-session=/home/kuba/.aria2/session
input-file=/home/kuba/.aria2/session
jobs=20000
max-concurrent-downloads=99999
log-level=debug
log=/home/kuba/aria2_log
from aria2.
Thank you for the log. From the log, aria2 corrected peers from DHT (trackers are all udp but aria2 does not support them) and its peer list was full (1024 peers), but for unknown reason, aria2 did not initiate connection to those peers. The code to initiate connection is src/ActivePeerConnectionCommand.cc but unfortunately it does not have meaningful log message at the moment.
I'll make a patch to add log message and post the link here.
Could you apply the patch and do the same procedure again?
from aria2.
I would have to compile aria2 from git master and then run it the same way?
On 23 January 2013 16:25, Tatsuhiro Tsujikawa [email protected]:
Thank you for the log. From the log, aria2 corrected peers from DHT
(trackers are all udp but aria2 does not support them) and its peer list
was full (1024 peers), but for unknown reason, aria2 did not initiate
connection to those peers. The code to initiate connection is
src/ActivePeerConnectionCommand.cc but unfortunately it does not have
meaningful log message at the moment.
I'll make a patch to add log message and post the link here.
Could you apply the patch and do the same procedure again?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/41#issuecomment-12600115.
from aria2.
The affected source file has not changed since last release (1.16.1), so you can apply the patch to 1.16.1 tar ball. It is a little bit easier to build from git.
from aria2.
Patch is here: http://sourceforge.net/p/aria2/patches/61/
from aria2.
Ok, I've cloned the repo and applied the patch, building manpages fails but the binary is intact
[WARN] Unknown option: jobs=20000
.
I'll find some big download and leave it for the night. Hopefully, it will happen again and I will post logs tomorrow.
from aria2.
This time, the scenario was kind of different, because I've had two bigger jobs that were not downloading since I added them (maybe the traffic from other jobs caused them to lose tracker messages) and they stayed at zero progress for about 9 hours. Here are the last 500k lines from the log.
from aria2.
Thank you for the log. With your help, I found the bug which potentially causes this issue. It was fixed in 550ac8c.
from aria2.
No problem, happy to help. I will pull the fix and see how that works, thanks for your time.
from aria2.
It has been verified by me twice since my last reply, and it maintains speed after several hours, thank you.
from aria2.
Related Issues (20)
- aira2 Does Not Support IPv6 Domain Remote Management?
- Failed to download file from ipv6 server HOT 2
- Using aria2c with yt-dlp returns Unrecognized URI HOT 4
- Aria2 Download queue
- aria2.session cannot write and this issue leads not to dowload
- Why is the executable file called 'aria2c' (instead of 'aria2')
- Aria2c RPC Method changeUri doesn't work HOT 1
- 关于开启https无法访问的问题 HOT 8
- How to request SFTP compression?
- Aria2 control files regularly fail to rename from aria2__temp to aria2 and do not get deleted post-download
- Support file uri scheme
- msys2-mingw64 提示 error: 'gettimeofday' was not declared in this scope; did you mean 'gettimeofday_ms'?
- HLS fragments
- Problem compiling in mingw static. undefined reference to `libiconv_set_ relocation_prefix HOT 2
- option --follow-torrent=false doesn't work
- aria2c incompatible with most CDNs
- Subfolder support for metalink HOT 1
- File Version property shouldn't be empty
- OSError: [Errno 99] Cannot assign requested address HOT 1
- OSX10.7 aria2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aria2.