https://pantsbuild.org/ logo
c

cuddly-window-48195

06/24/2020, 8:14 PM
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

hundreds-father-404

06/24/2020, 8:16 PM
macOS sets the default really low. We have on our backlog a change to make this automatic
c

cuddly-window-48195

06/24/2020, 8:19 PM
Yeah, so I set it to 20000 and I still see this error.
w

witty-crayon-22786

06/24/2020, 8:19 PM
ulimit -n
in the shell showing that error shows 20k?
also, which version of pants is this? and are you using pantsd?
c

cuddly-window-48195

06/24/2020, 8:21 PM
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

witty-crayon-22786

06/24/2020, 8:21 PM
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

cuddly-window-48195

06/24/2020, 8:23 PM
Ok, I’m happy. Thanks for the help!
❤️ 1