-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update file descriptor limits for macOS #892
Conversation
* common/fdlimit: cap on MacOS file limits, fixes #18994 * common/fdlimit: fix Maximum-check to respect OPEN_MAX * common/fdlimit: return error if OPEN_MAX is exceeded in Raise() * common/fdlimit: goimports * common/fdlimit: check value after setting fdlimit * common/fdlimit: make comment a bit more descriptive * cmd/utils: make fdlimit happy path a bit cleaner
…t64 (#19141) cast limit.Cur (int64) to uint64, fix test and compilation error
for working with Go 1.12
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good. I believe we should also update Dockerfile and travis to use go 1.13
@jbhurat I agree, although I would prefer to make that a follow up PR to keep the scopes small. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jbhurat I agree, although I would prefer to make that a follow up PR to keep the scopes small.
Sounds good. LGTM
This PR is cherry-picked from:
ethereum/go-ethereum#19035
ethereum/go-ethereum#19068
ethereum/go-ethereum#19141
ethereum/go-ethereum#19166 (only relevant files)
This introduces proper file handle limits for
darwin
based OSes (macOS/OSX), and a few other test fixes.This fixes the main complaint when building with newer versions of Golang, as Quorum currently only supports up to version 1.11.x.
As far as I can tell, there are no other blockers for 1.12, although someone feel free to correct me :)
Fixes #889