← Back to team overview

kernel-packages team mailing list archive

[Bug 701141] Re: rss ulimit does not apply

 

timo skrempel, this bug was reported a while ago and there hasn't been
any activity in it recently. We were wondering if this is still an
issue? If so, could you please test for this with the latest development
release of Ubuntu? ISO images are available from
http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in
the development release from a Terminal
(Applications->Accessories->Terminal), as it will automatically gather
and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.11-rc5

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's
Status as Confirmed. Please let us know your results. Thank you for your
understanding.

** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/701141

Title:
  rss ulimit does not apply

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  I am running Ubuntu 10.10.

  Setting a resident memory limit via "ulimit -m" or limits.conf has no effect. Something similar was already reported in https://bugs.launchpad.net/ubuntu/+source/pam/+bug/71024
  and marked as fixed.

  Setting the virtual memory limit via -v works correctly, but
  limits.conf does not allow to set the virtual memory limit? Why?

  I am testing with a c program that does an malloc() followed with a
  memset(). Instead of receiving an allocation error or the program
  getting killed, it can fill up the memory, the machine starts
  swapping, and becomes unusable.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/701141/+subscriptions