Skip to content
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

Adjust SC_OPEN_MAX and SC_STREAM_MAX for macOS 13 (Ventura) and later #71

Merged
merged 3 commits into from
May 5, 2023

Conversation

@tklauser tklauser force-pushed the open_max-darwin-macos13 branch 6 times, most recently from fd944b7 to 6b66219 Compare May 5, 2023 09:53
@tklauser tklauser force-pushed the open_max-darwin-macos13 branch from 6b66219 to d077ee4 Compare May 5, 2023 09:54
Go started bumping RLIMIT_NOFILE in syscall init() for Go processes but
restores the setting for subprocess, see https://go.dev/issue/46279 and
https://go.dev/doc/go1.19#runtime. This make TestGetconf fail on
systems where sysconf(SC_OPEN_MAX) uses getrlimit(RLIMIT_NOFILE), e.g.
on darwin.
@tklauser tklauser force-pushed the open_max-darwin-macos13 branch from d077ee4 to 0d7236e Compare May 5, 2023 09:55
@tklauser tklauser merged commit 2dcb441 into main May 5, 2023
@tklauser tklauser deleted the open_max-darwin-macos13 branch May 5, 2023 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant