Note that as of oneiric, pam_limits directly probes the kernel for
default limits to set (by reading /proc/1/limits), and it is our stated
policy that pam_limits should not impose any policy by default other
than the one given by the kernel itself.  As such, though a feature to
allow specifying memory limits as a percentage in limits.conf may be
useful:

 - this should be submitted upstream first rather than being applied as a patch 
in Ubuntu
 - the default limits.conf shipped in Ubuntu will not use this feature, even if 
present.

If your aim is to get limits applied by default, please submit a patch
to the kernel instead.  The kernel already sets several default limits
based on available system resources, so there's no problem in principle
with doing the same thing for memory limits (though the exact limit
chosen will have to be justified to upstream).

** Package changed: pam (Ubuntu) => linux (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/182960

Title:
  Please set memory limits by default

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to