-
Notifications
You must be signed in to change notification settings - Fork 252
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
NuGet can timeout on slow disks #2201
Comments
Although disk may be the sole cause, I would also like to eliminate the possibility that there were too many parallel HTTP requests. This evidence is certainly anecdotal, but I noticed when we were debugging together that there was a ton of hanging HTTP requests. This could be related to the fact that we do not have |
I've so far been unsuccessful in reproducing the problem. Constants throughout my investigation:
Different conditions tried for
I was not able to get any hangs. |
You also need the following scenarios to try D2 vm |
@yishaigalatzer, thanks for the suggestions. I've tried both still with no dice. D1, D2, and D3 all seems to act the same. The packages folder has this topology:
The packages folder is around 20 GB. |
What happens when you have 400 versions (imagine a CI building kicking off hourly leading to many versions daily |
I make sure 500 versions of |
Do you restore through nuget or dotnet restore? On Wed, Mar 2, 2016 at 9:45 AM -0800, "Joel Verhagen" <notifications@github.commailto:notifications@github.com> wrote: I make sure 500 versions of RavenDB.Client were in the packages folder then added that as a dependency to one of the projects. Still no repro. Reply to this email directly or view it on GitHubhttps://github.com//issues/2201#issuecomment-191345802. |
I am only using |
Additionally, I am running |
@joelverhagen this looks related to the timeout/retry issue we discussed on Friday, please dedup/close as necessary |
This is fixed with a change to add timeout to downloads (fail is no bytes received from the network in X seconds). |
We've seen this on our CI. @joelverhagen and I investigated.
My package folder was quite large (9ish GB) and I was running on a D3 Azure VM.
dotnet restore
(which calls in NuGet) was timing out, probably because of all the disk IO. Once we cleared the packages folder, everything started working.cc @yishaigalatzer
The text was updated successfully, but these errors were encountered: