OpenVZ Forum


Home » General » Support » mem limit does not work... ?
Re: mem limit does not work... ? [message #1659 is a reply to message #1650] Sun, 19 February 2006 09:11 Go to previous messageGo to previous message
disaster is currently offline  disaster
Messages: 158
Registered: February 2006
Senior Member
Thanks for your reply - so if i want to set a limit to 128M i have now tried - the following:
128M*1024*1024 => 134217728 bytes / 4096 => 32768

and then i used:
vzctl set 4 --privvmpages 32768:32768 --oomguarpages 32768:32768 --physpages 32768:32768 --vmguarpages 32768:32768 --save

but it dos not work... i can still allocate 2GB...

Another question:
Is there a listing for the meaning of privvmpages, vmguarpages, numpty, numproc etc. ?

Stefan
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon4.gif
Read Message
Read Message
Previous Topic: Config files
Next Topic: OS Templates Only Base OS?
Goto Forum:
  


Current Time: Sun Jul 21 00:19:25 GMT 2024

Total time taken to generate the page: 0.02293 seconds