Skip to content

warning: download buffer is full; consider increasing the 'download-buffer-size' setting (won't work) #11728

@roberth

Description

@roberth

Describe the bug

I'm getting this warning during substitution and/or remote builds.
These machines have gigabit connections.

I'd need buffers of hundreds of megabytes to avoid this warning when the store paths are big.
(Now imagine a well connected small machine without swap)

Steps To Reproduce

nix-build -A nixosTests.nixos-rebuild-target-host

after a GC or on a fresh "generation" of Nixpkgs

Expected behavior

When the download buffer is full, continue downloading at the rate of the consumer, and don't complain about it.

Limit the buffer size to avoid jittery consumption, which is known to cause connections to drop when the pauses are too long.
I've already outlined this as a better solution in the PR that introduced this problem,

nix-env --version output

Additional context

Priorities

Add 👍 to issues you find important.

Metadata

Metadata

Assignees

Labels

bugfetchingNetworking with the outside (non-Nix) world, input lockingstoreIssues and pull requests concerning the Nix store

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions