Re: Memory Allocation [message #35245 is a reply to message #35244] |
Wed, 11 March 2009 20:32 |
techdruid
Messages: 3 Registered: March 2009
|
Junior Member |
|
|
It would appear that my mistake here is that I was setting the meminfo value too high. I was assuming this was bytes and not pages.
Correct command for 256MB RAM is...
# vzctl set <veid> --meminfo pages:65536 --save
It would seem to me that this page below is incorrect though. It explains that for 248MB of RAM, you should set privvmpages to 262,144 / 292,912 . However, this results in over 1GB of total RAM on the container. Shouldn't this example be closer to 65536?
http://wiki.openvz.org/UBC_configuration_examples_table
Or am I missing something?
Richard
[Updated on: Wed, 11 March 2009 20:33] Report message to a moderator
|
|
|