[Nix#10004] nix-env -i or nix-env --upgrade getting stuck or taking forever on some devices #57

Open
opened 2024-03-16 06:44:41 +00:00 by lix-bot · 0 comments
Member

Upstream-Issue: NixOS/nix#10004

Describe the bug

on some of my devices nix-env -i or nix-env --upgrade are taking a really long time while on other devices it's really fast

using strace nix-env -i wireguard-tools it eventually get's stuck on this, this was not the case before a previous system upgrade

clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7ab2d0400990, parent_tid=0x7ab2d0400990, exit_signal=0, stack=0x7ab2cfc00000, stack_size=0x7ff1c0, tls=0x7ab2d04006c0} => {parent_tid=[24343]}, 88) = 24343
rt_sigprocmask(SIG_SETMASK, [HUP INT PIPE TERM WINCH], NULL, 8) = 0
write(3, "{\20\0\0\0\0\0\0Derive([(\"dist\",\"/nix/st"..., 4235) = 4235
futex(0x7ab2d0400990, FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME, 24343, NULL, FUTEX_BITSET_MATCH_ANY) = 0

Expected behavior

I expect nix-env -i take a similar amount of time on different systems.

nix-env --version output

nix-env (Nix) 2.18.1

Additional context

Add any other context about the problem here.

Priorities

Add 👍 to issues you find important.

Upstream-Issue: https://git.lix.systems/NixOS/nix/issues/10004 **Describe the bug** on some of my devices `nix-env -i` or `nix-env --upgrade` are taking a really long time while on other devices it's really fast using `strace nix-env -i wireguard-tools` it eventually get's stuck on this, this was not the case before a previous system upgrade ``` clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7ab2d0400990, parent_tid=0x7ab2d0400990, exit_signal=0, stack=0x7ab2cfc00000, stack_size=0x7ff1c0, tls=0x7ab2d04006c0} => {parent_tid=[24343]}, 88) = 24343 rt_sigprocmask(SIG_SETMASK, [HUP INT PIPE TERM WINCH], NULL, 8) = 0 write(3, "{\20\0\0\0\0\0\0Derive([(\"dist\",\"/nix/st"..., 4235) = 4235 futex(0x7ab2d0400990, FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME, 24343, NULL, FUTEX_BITSET_MATCH_ANY) = 0 ``` **Expected behavior** I expect nix-env -i take a similar amount of time on different systems. **`nix-env --version` output** nix-env (Nix) 2.18.1 **Additional context** Add any other context about the problem here. **Priorities** Add :+1: to [issues you find important](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc).
lix-bot added the
bug
imported
labels 2024-03-16 06:44:41 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#57
No description provided.