You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.
Because defaultMaxTables in nbs is 256 and the default open files on os x is also 256, we can easily hit this value and the failure is pretty cryptic. Simple example:
A principled solution would be to somehow detect max open file handles and set it based on that, but this is going to be system dependent.
Maybe a simple solution would be to drop it back to 128, which was the original value. It doesn't seem to have been updated to 256 for a particularly specific reason. Or maybe 192 :-).
Note there are probably other modes where Noms is going to use even more file handles, like when talking to AWS. So it's hard to pick a good number. Maybe an alternate solution is to develop/test noms for a particular value and try to detect at startup and warn if not met.
aboodman
added a commit
to aboodman/noms
that referenced
this issue
Feb 5, 2019
Because
defaultMaxTables
in nbs is256
and the default open files on os x is also256
, we can easily hit this value and the failure is pretty cryptic. Simple example:A principled solution would be to somehow detect max open file handles and set it based on that, but this is going to be system dependent.
Maybe a simple solution would be to drop it back to 128, which was the original value. It doesn't seem to have been updated to 256 for a particularly specific reason. Or maybe 192 :-).
https://github.com/attic-labs/noms/pull/3489/files#diff-bf374388e9c55e661083dd4d2d0a1305R21
The text was updated successfully, but these errors were encountered: