<@UB2J9BQA0>: with what file handle limit though? ...
# general
w
@hundreds-father-404: with what file handle limit though? you absolutely will hit it at 256
if we have reproductions outside of the pantsbuild/pants repo for users who have already increased their ulimit, then let’s absolutely track those down and fix them.
h
For a new user with default limit. It worked after they changed it, but not a great first interaction. We at least have a section saying what to do when you encounter it on the install page: https://pants.readme.io/docs/installation
w
it’s fairly likely that 256 is too low, yea. but that’s not due to any known leak. if you take a look at
lsof -p
for a stable pantsd instance (not because this has anything to do with pantsd, but just because that’s the easiest way to inspect what we use in a stable state), you’ll see about 400 open files, depending on whether pants was loaded from a pex or wheels, or sources, etc
it could be reduced, but 256 … is just too low.
you’ll see lots of references to the lmdb database: that’s because we shard it 16 ways, and we have 3 different databases.
BUT, as i’m spieling, it does look like we might have two or three copies open. and that’s suspicious. we should only have one handle to the
Store
.
👍 1
…actually, no. that’s the appropriate number of handles. each one is in a different mode.