| 19 Jun 2026 |
Mic92 | ? | 10:56:35 |
hexa | [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 |
Mic92 | mhm. | 10:57:11 |
Mic92 | than it's something else | 10:57:15 |
Mic92 | I will take over fast-nix-gc. I want to try some other options | 11:01:24 |
dgrig | If 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 | yeah, 16 GB is like factor 10 of my busy personal machines | 12:03:56 |
hexa | we | 12:04:45 |
hexa | Redacted or Malformed Event | 12:04:50 |
Mic92 | It's actually more like 58GB | 12:04:51 |
hexa | lmao | 12:04:57 |
hexa | did I miss wal | 12:05:00 |
Mic92 | no you look at disk uage | 12:05:07 |
Mic92 | * no you look at disk usage | 12:05:12 |
hexa | -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 |
Mic92 | Ah yes, now you see | 12:05:44 |
hexa | not sure why I remember it wrong then | 12:05:57 |
Mic92 | Okay, but nix-fast-gc is now incremental | 12:06:00 |
hexa | ah :D | 12:06:26 |
Mic92 | Before it was failing at the large transaction that makes the system go out of disk | 12:06:27 |
hexa | nice | 12:06:43 |
Mic92 | do we have zfs snapshots? | 12:07:24 |
hexa | no | 12:07:38 |
Mic92 | Okay than zfs just needs a bit to free up space | 12:07:52 |
hexa | certainly | 12:08:04 |
hexa | watching zfs list it's doing | 12:08:25 |
Mic92 | Slowly making progress | 12:15:31 |
Mic92 | zroot/nix 610G 457G 96K none
| 13:25:58 |
Mic92 | Well, gc gives me enough time to fix the issue that was introduced by downloading nars again to compute the build product | 13:53:03 |
Mic92 | Before this was only downloading a single NAR and no closure | 13:53:15 |