OpenVZ Forum


Home » General » Support » Memory Usage
Memory Usage [message #8679] Fri, 01 December 2006 14:16 Go to next message
sspt is currently offline  sspt
Messages: 100
Registered: August 2006
Location: Portugal
Senior Member
I guess i'm loosing something, but have no idea what!

VE privvmpages
privvmpages      116278      167769      256000      262144      0


Setting VE meminfo with the same value as privvmpages
[root@vps1 ~]# vzctl set 130 --meminfo privvmpages:1 --save


Checking memory usage inside VE
root@server [/]# free -m
             total       used       free     shared    buffers     cached
Mem:          1000        286        713          0          0          0
-/+ buffers/cache:        286        713
Swap:            0          0          0




Since there are 116278 (privvm)pages in use which means 454MB why 'free' output gives 286MB?

Thanks in advance,


http://static.openvz.org/userbars/openvz-user.png
Re: Memory Usage [message #8842 is a reply to message #8679] Thu, 07 December 2006 14:26 Go to previous messageGo to next message
sspt is currently offline  sspt
Messages: 100
Registered: August 2006
Location: Portugal
Senior Member
Seems that it's considering used memory OOMGUARPAGES instead of PRIVVMPAGES, is it a bug or feature?

http://static.openvz.org/userbars/openvz-user.png
Re: Memory Usage [message #8851 is a reply to message #8679] Thu, 07 December 2006 18:58 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
This is a feature! Smile
Previous Topic: Checkpoint bug
Next Topic: *SOLVED* Installing OpenVZ on HP DL380 G5
Goto Forum:
  


Current Time: Sat Nov 09 04:30:09 GMT 2024

Total time taken to generate the page: 0.03221 seconds