#378 open
Wilson Bilkovich

Incorrect Process.setrlimit spec on (some?) Linux

Reported by Wilson Bilkovich | March 1st, 2008 @ 02:24 PM | in 0.11

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

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket