This is an old problem, but again, none of the old solutions work anymore.
Default ulimit is far too low and I need to increase it to basically unlimited (like let's say a million).
And I need to increase it globally. Not just in the shell, so .zshrc
-based solutions won't work; notably they won't apply to docker.
Increasing it in launchctl doesn't seem to persist it (and does it even do anything?)
(and yes, I now there's a lot of existing answers to this - but they only work on older OSX; I don't know if there's any "close as no longer working" function)