← Back to team overview

kernel-packages team mailing list archive

[Bug 701141] Re: rss ulimit does not apply

 

[Expired for linux (Ubuntu) because there has been no activity for 60
days.]

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

-- 
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:
  Expired

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