Has anyone seen this error before? I’m on macos: ...
# general
c
Has anyone seen this error before? I’m on macos:
Copy code
ERROR: Could not initialize store for process cache: "Error making env for store at \"/Users/cweber/.cache/pants/lmdb_store/processes/c\": Too many open files"
h
macOS sets the default really low. We have on our backlog a change to make this automatic
c
Yeah, so I set it to 20000 and I still see this error.
w
ulimit -n
in the shell showing that error shows 20k?
also, which version of pants is this? and are you using pantsd?
c
Hmm, I think it’s not sticking for some reason. I’m not using pantsd, this is v1.25.
But adding it to the actual
./pants
script seems to have fixed it.
👀 1
Just setting it in the shell was insufficient.
w
yea, it’s challenging to make it stick. we need to bake it in.
👍 1
i have one other slightly higher priority thing today, or i would be on it, heh
Soon TM
c
Ok, I’m happy. Thanks for the help!
❤️ 1