Open fasterthanlime opened 10 months ago
I'm not an attic user (yet) but I hit similar issues with nix
a while ago — I was trying to build a nix-darwin
system.
> launchctl limit maxfiles
maxfiles 256 unlimited
> ulimit -n
256
I think setting this helped — I was able to complete the build, having set it, but I haven't confirmed it was the direct fix.
ulimit -n 10240
Hopefully this may help someone affected by the issue.
Some resources:
I'm running into this on macOS aswell, I've set ulimit
to max, which is 65536
it seems, and sadly still running into it. I'm unsure if there is any good fix available if your Nix store is too big...
When running
attic watch-store main
on my macOS machine, it's stuck for a minute, and then it spams:..while not actually pushing anything.
The same version of attic works fine on a (remote) Linux machine.