| 3 Apr 2026 |
hexa |  Download these are from today | 17:53:59 |
hexa | and if you've seen a build getting disrupted by a full disk on hydra … well | 17:54:16 |
hexa | -sh-3.2# df -h
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk3s3s1 228Gi 11Gi 20Gi 37% 453k 213M 0% /
devfs 204Ki 204Ki 0Bi 100% 706 0 100% /dev
/dev/disk3s6 228Gi 2.0Gi 20Gi 9% 2 213M 0% /System/Volumes/VM
/dev/disk3s4 228Gi 14Gi 20Gi 42% 5.4k 213M 0% /System/Volumes/Preboot
/dev/disk3s2 228Gi 59Mi 20Gi 1% 69 213M 0% /System/Volumes/Update
/dev/disk1s2 500Mi 6.0Mi 483Mi 2% 3 4.9M 0% /System/Volumes/xarts
/dev/disk1s1 500Mi 5.7Mi 483Mi 2% 30 4.9M 0% /System/Volumes/iSCPreboot
/dev/disk1s3 500Mi 916Ki 483Mi 1% 32 4.9M 0% /System/Volumes/Hardware
/dev/disk3s1 228Gi 95Gi 20Gi 83% 2.2M 213M 1% /System/Volumes/Data
map auto_home 0Bi 0Bi 0Bi 100% 0 0 - /System/Volumes/Data/home
/dev/disk3s7 228Gi 82Gi 20Gi 81% 4.7M 213M 2% /nix
/dev/disk4 512Mi 12Mi 500Mi 3% 4 4.3G 0% /private/var/run/agenix.d
| 17:54:47 |
hexa | an example machine | 17:54:58 |
hexa | gc = {
automatic = true;
interval = [
{
Minute = 15;
}
{
Minute = 45;
}
];
# ensure up to 100G free space every half hour
options = "--max-freed $(df -k /nix/store | awk 'NR==2 {available=$4; required=100*1024*1024; to_free=required-available; printf \"%.0d\", to_free*1024}')";
};
| 17:55:30 |
hexa | but they never free up to 100G | 17:55:42 |
hexa | ok, does anyone know how to clean /var/db/uuidtext | 18:13:32 |
hexa | which takes 65GB of disk space on this one builder | 18:13:38 |
hexa | this seems to be logging related | 18:13:46 |
Randy Eckenrode | https://eclecticlight.co/2017/10/10/inside-the-macos-log-logd-and-the-files-that-it-manages/ | 18:15:13 |
hexa | I have an urge to find -mtime -delete | 18:16:27 |
Ihar Hrachyshka | log erase [--all] [--ttl] ?
| 18:44:00 |
Ihar Hrachyshka | man log | 18:44:03 |
antifuchs | Speaking of disk space on Mac builders, is there a way to customize the linux-builder vm image size? I keep running out there after a few (too few) builds | 20:09:12 |
Ihar Hrachyshka | nix = {
linux-builder = {
enable = true;
config =
{
virtualisation = {
darwin-builder = {
diskSize = 80 * 1024;
memorySize = 12 * 1024;
};
cores = 8;
};
};
};
};
| 20:12:07 |
antifuchs | Ooooooh | 20:14:21 |
antifuchs | Thank you! | 20:14:25 |
Ihar Hrachyshka | btw you'll need ephemeral=true otherwise it won't apply on reboot | 20:52:27 |
Ihar Hrachyshka | hexa: does log erase not do the trick? | 21:41:05 |
| Oreo joined the room. | 21:47:00 |
hexa | I am not a MacOS user, so i am pretty much clueless | 21:47:25 |
Ihar Hrachyshka | I never used it but it's an official tool and if it works... there are scary stories on the internet that it may break logging or smth if you just rm -rf it, so I'd try first. | 21:49:34 |
Ihar Hrachyshka | chatgpt promises that it will "permanently delete the entire unified logging database" (if without --ttl), which I think is what you want? | 21:50:58 |
Ihar Hrachyshka | I can try it later on a machine of mine if you can wait. i will reply on the PR today or tomorrow. | 21:52:28 |
hexa | I already deleted all files older than 7 days | 22:19:15 |
hexa | ~60 GiB freed on all m1 hosts | 22:19:41 |
hexa | With find -type f -mtime | 22:20:50 |
emily | sorry, been busy the past few days | 22:40:10 |
emily | losing track of notifications 😅 | 22:40:23 |
emily | no worries re: dismissing the review, I think we might have a written guideline about it being okay to do that if someone is AWOL on a PR after being pinged | 22:40:38 |