From: Daniel Wilson (webmaster_at_animelab.com)
Date: Thu 22 May 2003 - 18:30:36 BST
Is there anyway to get virtuozzo/HSP style limiting in vserver?
Heres an example of what Virtuozzo can limit.
root_at_www [~]# cat /proc/user_beancounters
uid resource held max barrier limit
1390: kmemsize 1171312 3629296 6752829 7340032
lockedpages 0 4 128 128
totvmpages 53620 157972 246415 262144
ipcshmpages 12 12 32768 32768
anonshpages 0 0 2560 2560
numproc 47 139 350 350
rsspages 1813 16987 0 21474836
vmspaceguar 0 0 0 0
oomguar 0 0 0 0
numsock 24 320 320 320
numflock 1 10 83 100
numpty 1 2 12 12
numsiginfo 0 47 256 256
tcpsendbuf 41440 1331200 1331200 1331200
tcprcvbuf 0 146428 2228224 2228224
unixsockbuf 17336 170492 1310720 1310720
sockrcvbuf 0 3692 262144 262144
numunixsock 20 60 210 210
dummy 0 0 0 0
dummy 0 0 0 0
dummy 0 0 0 0
dummy 0 0 0 0
dummy 0 0 0 0
iptentries 5 5 32 32
As well as per context quota with unification and resizing capabilities.
Filesystem 1k-blocks Used Available Use% Mounted on
vzfs 1024000 724697 299303 71% /