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

Fix "failed setting rlimit: invalid argument" on osx #15

Closed
wants to merge 1 commit into from

Conversation

madjar
Copy link
Contributor

@madjar madjar commented Aug 24, 2020

Running on osx, the attempt to change the rlimit fails with "invalid argument".

It appears that the value of rlimit.Max is 9223372036854775807, and that
trying to set to that value fails. More on this at
golang/go#30401.

We fix this by setting the value to the somewhat magic 24576 when on osx (darwin).

Running on osx, the attempt to change the rlimit fails with "invalid argument".

It appears that the value of rlimit.Max is `9223372036854775807`, and that
trying to set to that value fails. More on this at
golang/go#30401.

We fix this by setting the value to the somewhat magic 24576 when on osx (darwin).
@Mic92
Copy link
Owner

Mic92 commented Aug 25, 2020

I opened #16 still need to figure why tests are broken now.

@Mic92
Copy link
Owner

Mic92 commented Sep 22, 2020

fixed in #16

@Mic92 Mic92 closed this Sep 22, 2020
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.

2 participants