You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I interrupted a deploy-rs command. I had nix builds in background overheating my CPU that I killed manually.
Then I tried to run another nix command (nixos-rebuild) and I get
...
warning: copied large path '/nix/store/ii7hbxadk976pb78aw6rs8ql0asd7cl3-source/nixos' to the store (12.3 MiB)
warning: killing stray builder process 2363388 (npm ci)...
waiting for 128 ms for cgroup '"/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002"' to become empty
waiting for 256 ms for cgroup '"/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002"' to become empty
waiting for 512 ms for cgroup '"/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002"' to become empty
waiting for 1024 ms for cgroup '"/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002"' to become empty
waiting for 1024 ms for cgroup '"/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002"' to become empty
waiting for 1024 ms for cgroup '"/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002"' to become empty
waiting for 1024 ms for cgroup '"/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002"' to become empty
waiting for 1024 ms for cgroup '"/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002"' to become empty
waiting for 1024 ms for cgroup '"/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002"' to become empty
waiting for 1024 ms for cgroup '"/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002"' to become empty
waiting for 1024 ms for cgroup '"/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002"' to become empty
waiting for 1024 ms for cgroup '"/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002"' to become empty
waiting for 1024 ms for cgroup '"/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002"' to become empty
waiting for 1024 ms for cgroup '"/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002"' to become empty
note: keeping build directory '/tmp/nix-build-users-groups.json.drv-6/build'
note: keeping build directory '/tmp/nix-build-manifest.json.drv-6/build'
note: keeping build directory '/tmp/nix-build-etc-resolvconf.conf.drv-6/build'
...
note: keeping build directory '/tmp/nix-build-boot.json.drv-6/build'
error: cannot kill cgroup '"/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002"'
error: Recipe `nixos-rebuild` failed on line 34 with exit code 1
I am not familiar with slices. I stopped the daemon and socket and started both again but I would still get the same error.
I tried to remove the folder to no avail
➜ sudo rm -rf /sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002/
rm: cannot remove '/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002/cgroup.events': Operation not permitted
rm: cannot remove '/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002/io.pressure': Operation not permitted
rm: cannot remove '/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30002/cgroup.procs': Operation not permitted
I would expect a daemon restart to fix this. I've found #11412 that looked related. Maybe it fixes my issue ? Now I guess I 'll just restart :s
Describe the bug
I interrupted a deploy-rs command. I had nix builds in background overheating my CPU that I killed manually.
Then I tried to run another nix command (nixos-rebuild) and I get
I am not familiar with slices. I stopped the daemon and socket and started both again but I would still get the same error.
I tried to remove the folder to no avail
I would expect a daemon restart to fix this. I've found #11412 that looked related. Maybe it fixes my issue ? Now I guess I 'll just restart :s
nix-env --version
outputnix (Nix) 2.24.10
Additional context
nixos-unstable
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: