OpenVZ Forum


Home » General » Support » Memory Allocation
Re: Memory Allocation [message #35244 is a reply to message #34359] Wed, 11 March 2009 19:32 Go to previous messageGo to previous message
techdruid is currently offline  techdruid
Messages: 3
Registered: March 2009
Junior Member
I have encountered this same problem.

I tried changing vzctl --meminfo in various ways. However, no matter how I set this, the free command and cat /proc/meminfo always show the full amount of memory from the host/hardware system.

Any advice would greatly appreciated.

/proc/users_beancounters

resource held maxheld barrier limit
kmemsize 1055739 1341307 16384000 18022400
privvmpages 11036 11759 262144 292912
shmpages 31 31 131072 131072
physpages 2150 2631 0 2147483647
vmguarpages 0 0 102400 102400
oomguarpages 2150 2631 102400 102400

I've tried
# vzctl set 1 --meminfo privvmpages:1 --save
# vzctl set 1 --meminfo pages:292912 --save

Tried restarting the container stop/start, but I continue to see the following in the container from # free -m
total used free shared buffers cached
1009 45 964 0 0 0
-/+ b/c: 45 964
Swap:
0 0 0

Amended. I should point out that I'm using the values defined on this page here.
http://wiki.openvz.org/UBC_configuration_examples_table

Idea's / Thoughts?
Thanks in advance
Richard

[Updated on: Wed, 11 March 2009 19:38]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: veth support
Next Topic: vzctl 3.0.29.3 issues
Goto Forum:
  


Current Time: Mon Aug 05 20:11:06 GMT 2024

Total time taken to generate the page: 0.03172 seconds