PLDWWW: Docs/Vserver

arekm arekm at pld-linux.org
Sat Mar 13 21:52:24 CET 2010


Author: arekm   Date: Sat Mar 13 20:52:24 2010 GMT
Module: PLDWWW   URL: http://www.pld-linux.org/Docs/Vserver?action=diff&rev2=139&rev1=138
---- Log message:


---- Page affected: Docs/Vserver

---- Diffs:

================================================================
  A guest cannot lower its nice value - and that's what 'su' does through pam_limits which sets a nice value of 0. 
  
  Solution: set SYS_NICE bcapability for guest to allow it to lower it's nice value.
+ 
+ === Why there is no used memory reported on 2.6.33 inside of vserver guest ? ===
+ 
+ 2.6.33 started to use cgroups for accounting and since by default no cgroup is configured then accounted used memory is 0. Drop virt_mem flag or set cgroup memory limit. Look at http://linux-vserver.org/util-vserver:Cgroups for more information.
  
  == Debian or Ubuntu guest installation ==
  
@@ -971, +975 @@

   * add {{{quota_ctl}}} to {{{/etc/vservers/test/ccapabilities}}}:
   * restart your vserver and run {{{edquota}}} inside
  
- == Why there is no used memory reported on 2.6.33 inside of vserver guest ? ==
- 
- 2.6.33 started to use cgroups for accounting and since by default no cgroup is configured then accounted used memory is 0. Drop virt_mem flag or set cgroup memory limit.
- 


More information about the pld-cvs-commit mailing list