resource-control.rst 849 B

123456789101112131415161718
  1. ===========================
  2. Namespaces research control
  3. ===========================
  4. There are a lot of kinds of objects in the kernel that don't have
  5. individual limits or that have limits that are ineffective when a set
  6. of processes is allowed to switch user ids. With user namespaces
  7. enabled in a kernel for people who don't trust their users or their
  8. users programs to play nice this problems becomes more acute.
  9. Therefore it is recommended that memory control groups be enabled in
  10. kernels that enable user namespaces, and it is further recommended
  11. that userspace configure memory control groups to limit how much
  12. memory user's they don't trust to play nice can use.
  13. Memory control groups can be configured by installing the libcgroup
  14. package present on most distros editing /etc/cgrules.conf,
  15. /etc/cgconfig.conf and setting up libpam-cgroup.