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

Incorrect Process.setrlimit spec on (some?) Linux #47

Closed
brixen opened this issue Oct 8, 2009 · 1 comment
Closed

Incorrect Process.setrlimit spec on (some?) Linux #47

brixen opened this issue Oct 8, 2009 · 1 comment

Comments

@brixen
Copy link
Member

brixen commented Oct 8, 2009

Reported by Wilson LH 378

The Process.setrlimit spec for RLIMIT_MEMLOCK needs revision on Linux.
It appears to fail because the lim/max return values are not necessarily valid arguments to setrlimit.
While this is retarded, it is real, and needs some work.

I am currently installing Ubuntu so that I can debug this mess.

Process.setrlimit and Process.getrlimit limit and get total size for mlock(2) (bytes) ERROR
Invalid argument: 
                   Errno.handle at kernel/core/errno.rb:19
              Process.setrlimit at kernel/core/process.rb:35
           Object#__script__ {} at ./spec/ruby/1.8/core/process/setrlimit_spec.rb:73
@evanphx
Copy link
Member

evanphx commented Mar 27, 2010

Appears to be running fine on linux now.

This issue was closed.
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

No branches or pull requests

2 participants