Skip to content
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

max-connection not working #465

Closed
TonyStark opened this issue Sep 30, 2015 · 3 comments
Closed

max-connection not working #465

TonyStark opened this issue Sep 30, 2015 · 3 comments
Labels

Comments

@TonyStark
Copy link

@TonyStark TonyStark commented Sep 30, 2015

I installed aria2 (1.18.1) in my ubuntu. but the problem is it can not increase download connection.

aria2c -x 10 http://mirror.sg.leaseweb.net/speedtest/100mb.bin
[#fe34b4 2.1MiB/95MiB(2%) CN:4 DL:233KiB ETA:6m49s

by default it only download from 4 connection not 10 (as i given). i even try with another sites, but default 4 connection carried out while downloading

@nmaier nmaier added the worksforme label Sep 30, 2015
@nmaier

This comment has been minimized.

Copy link
Collaborator

@nmaier nmaier commented Sep 30, 2015

There are multiple options that influence the behavior:

  • --split -s Maximum number of concurrent splits (connections) per download. Defaults to 5, so unless you changed it, you will get max 5 connections for a single download no matter what -x.
  • --min-split-size -k A split should only be initiated when the split would be bigger than this. Defaults to 20M, meaning that when you download a 100M file, the time the download is split some data is already retrieved which means less slightly less than 100MB is remaining, meaning 4 splits (5 splits would create splits slightly less than 20MB).

There you have it. Please check out the manual for more information on the various options.

$ aria2c -k 1M -s 10 -x 10 http://mirror.sg.leaseweb.net/speedtest/100mb.bin
[#1325f1 7.4MiB/95MiB(7%) CN:10 DL:1.2MiB ETA:1m8s]
@nmaier nmaier closed this Sep 30, 2015
@tatsuhiro-t

This comment has been minimized.

Copy link
Collaborator

@tatsuhiro-t tatsuhiro-t commented Sep 30, 2015

Thank you @nmaier !

@TonyStark

This comment has been minimized.

Copy link
Author

@TonyStark TonyStark commented Sep 30, 2015

👍 @nmaier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.