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

aptly ignores -download-limit and downloadConcurrency, downloads at full speed #1250

Closed
Kepler-Br opened this issue Feb 18, 2024 · 1 comment · Fixed by #1327
Closed

aptly ignores -download-limit and downloadConcurrency, downloads at full speed #1250

Kepler-Br opened this issue Feb 18, 2024 · 1 comment · Fixed by #1327
Assignees
Labels

Comments

@Kepler-Br
Copy link

Detailed Description

I'm using 1.5.0 version and this command:
aptly -ignore-signatures -config ./aptly.conf mirror update -download-limit=10 bookworm-non-free
I've tried to set downloadSpeedLimit in the config but nothing works

Downloading http://ftp.ru.debian.org/debian/pool/non-free/t/testu01/libtestu01-0-dev_1.2.3+ds1-2_armel.deb...
^CAborting... press ^C once again to abort immediately
Error downloading http://ftp.ru.debian.org/debian/pool/non-free/t/testu01/libtestu01-0-dev_1.2.3+ds1-2_armel.deb: http://ftp.ru.debian.org/debian/pool/non-free/t/testu01/libtestu01-0-dev_1.2.3+ds1-2_armel.deb: context canceled retrying...
 79.93 MiB / 11.48 GiB [>----------------------------------------------------------]   0.68% 32.53 MiB/s 5m54s

The config is pretty much the default one except for downloadSpeedLimit:

{
  "rootDir": "/host/aptly",
  "downloadConcurrency": 1,
  "downloadSpeedLimit": 10,
  "downloadRetries": 0,
  "downloader": "default",
  "databaseOpenAttempts": -1,
  "architectures": [],
  "dependencyFollowSuggests": false,
  "dependencyFollowRecommends": false,
  "dependencyFollowAllVariants": false,
  "dependencyFollowSource": false,
  "dependencyVerboseResolve": false,
  "gpgDisableSign": false,
  "gpgDisableVerify": false,
  "gpgProvider": "gpg",
  "downloadSourcePackages": false,
  "skipLegacyPool": true,
  "ppaDistributorID": "ubuntu",
  "ppaCodename": "",
  "skipContentsPublishing": false,
  "skipBz2Publishing": false,
  "FileSystemPublishEndpoints": {},
  "S3PublishEndpoints": {},
  "SwiftPublishEndpoints": {},
  "AzurePublishEndpoints": {},
  "AsyncAPI": false,
  "enableMetricsEndpoint": false
}

Context

It's critical for me to not bombard other servers with my full bandwidth

Your Environment

Ubuntu 22.04
or
Ubuntu 22.04 but in docker

@thibautmery
Copy link

Hi,

I have the same issue, i downgrade to version 1.4 and it's works fine.

It can be critical when you download multiple public repository

@neolynx neolynx self-assigned this Jul 16, 2024
@neolynx neolynx added the bug label Aug 2, 2024
@iofq iofq mentioned this issue Aug 10, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
@neolynx @Kepler-Br @thibautmery and others