!RROtHmAaQIkiJzJZZE:nixos.org

NixOS Infrastructure

465 Members
Next Infra call: 2024-07-11, 18:00 CEST (UTC+2) | Infra operational issues backlog: https://github.com/orgs/NixOS/projects/52 | See #infra-alerts:nixos.org for real time alerts from Prometheus.144 Servers

Load older messages


SenderMessageTime
19 Jun 2026
@joerg:thalheim.ioMic92?10:56:35
@hexa:lossy.networkhexa
[root@mimas:~]# nix run github:mic92/fast-nix-gc -- --ensure-free 100G
[INFO ] freeing at least 97.67 GiB to reach 100.00 GiB free
[INFO ] remounted /nix/store read-write
[INFO ] loading store graph...
[INFO ] 15409584 total valid paths
[INFO ] finding garbage collector roots...
[INFO ] found 1078966 roots
[INFO ] computing alive closure...
[INFO ] 4701564 alive paths
[INFO ] 10708020 dead paths
[INFO ] 251 unknown paths on disk not in DB
[INFO ] deleting garbage...
^C
10:56:44
@joerg:thalheim.ioMic92mhm.10:57:11
@joerg:thalheim.ioMic92than it's something else10:57:15
@joerg:thalheim.ioMic92I will take over fast-nix-gc. I want to try some other options11:01:24
@dgrig:erethon.comdgrigIf it's related, after lots of GCs without a vacuum on the nix sqlite we saw something similar on the security tracker last year. I had opened https://github.com/NixOS/nixpkgs/pull/435438 to at the very least document this (linking to a patch by Trofi on Nixos/nix)12:02:52
@hexa:lossy.networkhexayeah, 16 GB is like factor 10 of my busy personal machines12:03:56
@hexa:lossy.networkhexawe12:04:45
@hexa:lossy.networkhexaRedacted or Malformed Event12:04:50
@joerg:thalheim.ioMic92It's actually more like 58GB12:04:51
@hexa:lossy.networkhexalmao12:04:57
@hexa:lossy.networkhexadid I miss wal12:05:00
@joerg:thalheim.ioMic92no you look at disk uage12:05:07
@joerg:thalheim.ioMic92* no you look at disk usage12:05:12
@hexa:lossy.networkhexa
-rw-r--r--  1 root root  57G Jun 19 12:01 db.sqlite
-rw-r--r--  1 root root 1.3M Jun 19 12:05 db.sqlite-shm
-rw-r--r--  1 root root 638M Jun 19 12:05 db.sqlite-wal
12:05:23
@joerg:thalheim.ioMic92Ah yes, now you see12:05:44
@hexa:lossy.networkhexanot sure why I remember it wrong then12:05:57
@joerg:thalheim.ioMic92Okay, but nix-fast-gc is now incremental12:06:00
@hexa:lossy.networkhexaah :D12:06:26
@joerg:thalheim.ioMic92Before it was failing at the large transaction that makes the system go out of disk12:06:27
@hexa:lossy.networkhexanice12:06:43
@joerg:thalheim.ioMic92do we have zfs snapshots?12:07:24
@hexa:lossy.networkhexano12:07:38
@joerg:thalheim.ioMic92Okay than zfs just needs a bit to free up space12:07:52
@hexa:lossy.networkhexacertainly12:08:04
@hexa:lossy.networkhexa watching zfs list it's doing 12:08:25
@joerg:thalheim.ioMic92Slowly making progress12:15:31
@joerg:thalheim.ioMic92zroot/nix 610G 457G 96K none 13:25:58
@joerg:thalheim.ioMic92Well, gc gives me enough time to fix the issue that was introduced by downloading nars again to compute the build product13:53:03
@joerg:thalheim.ioMic92Before this was only downloading a single NAR and no closure13:53:15

Show newer messages


Back to Room ListRoom Version: 6