-
Notifications
You must be signed in to change notification settings - Fork 362
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
devenv up
stuck
#1525
Comments
Does |
Sorry, I'm super sleep deprived, I wanted to send this part as well, it gets stuck on
Both |
Does this mean it only reproduces with 4? |
It always happens, but if I try it without setting
|
The In verbose mode, before the Nix output and the line that hangs, there should be a really long Nix command. That's the command it's running. Try running copy-pasting that and running it separately. It might have a hint for us. |
Sure, the command previous to the failure is
|
Pushed a fix for max_jobs in dc7ebaf |
Does it work if you run it manually? |
Looks like it:
|
Are there more in there? Is there one with the command |
Nope, no nix call with |
@MarceColl What command hangs if you do |
|
@MarceColl if you run the last command manually, does it complete? |
@MarceColl please book a slot at https://calendly.com/domenkozar and we'll dive into this 1:1 |
We're seeing the same issue here, on two machines.
|
@DGollings this happens using devenv 1.0.5? The latest should be 1.3.1, what channel are you using? |
yes, so turns out that both colleagues still had old So that means that something in the latest devenv breaks old installations? Doesn't explain the issue that @MarceColl has though, but FYI |
I've also got
|
@DrJKL does it resolve if you do |
Got same issue here on a brand new machine.
Running
|
It seems like this was a ram or cpu issue afterall. Increased my vcpus from 1 to 2 on my vps, also increased ram from 2GB to 4GB and now everything runs fine. |
I ran into the same issue today.
|
Can you try devenv from |
Also hitting this when using the It hung at:
|
I can confirm that this is indeed related to either CPU or RAM as @dunderrrrrr said. After switching to a 2 vcpu 32gb memory machine, everything ran smoothly. As I already confirmed it got stuck on a 1 vcpu 16gb memory machine and 16gb is a pretty high number for the use case I was testing, my guess is that for some reason devenv is not working properly on 1 vcpu machines. |
Here's a way to reproduce it locally using docker:
Once inside devenv container:
|
Is it a problem with nix or devenv itself? I try running the nix commands it says its running (with --verbose) and they work ok, it just gives a giant bash as the output |
I managed to replicate the issue when only 1 cpu is available (@dunderrrrrr and @dsalaza4, thanks for investigating this). For a local repro, running devenv with |
Describe the bug
When I run devenv up in a brand new arch linux machine it gets stuck and never finishes at the
Building shell
stage. The same devenv.nix works in a separate arch linux machine, also up-to-date.To reproduce
Devenv files: https://gist.github.com/MarceColl/bf5f924cb23b16f2efab99ac5775f451
I also need
--max-jobs=4
in this case for some reason.User seikaku is part of
nixbld
.Version
The text was updated successfully, but these errors were encountered: