Set NuGet's maxHttpRequestsPerSource
setting to a reasonable value for Linux
#9787
Open
3 of 13 tasks
Labels
Description
We've seen at least one occurrence of connection limits being hit during
dotnet restore
on a Linux larger runner, though impact could be larger. According to the documentation (see emphasis):For larger projects this can result in intermittent connection timeouts as the VM can no longer connect to the pool's load balancer (which is restricted to 1024 connections from an individual VM). Some examples from other software:
We could just use the same limit as Windows of 64 or Mac of 16, there's no real heuristic for it other than not being "unlimited".
Platforms affected
Runner images affected
Image version and build link
All current Linux images
Is it regression?
No
Expected behavior
Limited connections being made from
nuget restore
anddotnet restore
on Linux, which lessens chance of intermittent connection timeouts.Actual behavior
Projects with many packages on the same source can have intermittent connection timeouts.
Repro steps
N/A
The text was updated successfully, but these errors were encountered: