[Bug 1166730] [NEW] lxc not modified memory.limit_in_bytes

Serge Hallyn 1166730 at bugs.launchpad.net
Tue Apr 9 13:31:39 UTC 2013


Thanks for your question.  This is definately a FAQ.

free reports information it finds in /proc/meminfo.  /proc/meminfo does
not reflect cgroup-imposed restrictions.

There is a fuse-based proc overlay filesystem you can use which should
offer a filtered /proc/meminfo ( see
http://sourceforge.net/mailarchive/forum.php?viewmonth=201002&viewday=&forum_name=lxc-users&style=nested
) however that isn't really supported.

Upstream kernel developers have so far rejected the idea of filtering
the /proc file results based  on cgroup limits.  It is recommended
to update the userspace applications to look at cgroup limits instead.

I will mark this bug ad affecting the kernel and mark it wishlist so
that others looking for this info can find it.

 importance: wishlist
 status: confirmed
 affects: linux
 importance: wishlist


** Changed in: lxc (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: lxc (Ubuntu)
       Status: Invalid => Confirmed

** Also affects: linux
   Importance: Wishlist
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1166730

Title:
  lxc not modified memory.limit_in_bytes

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



More information about the Ubuntu-server-bugs mailing list