OpenVZ Forum


Home » General » Discussions » Curious about physpages vs RSS
Curious about physpages vs RSS [message #33153] Thu, 25 September 2008 08:54 Go to previous message
devonblzx is currently offline  devonblzx
Messages: 127
Registered: December 2006
Senior Member
Hello,

I have been trying to figure out the actual RAM usage of some of my containers, I know physpages somewhat represents this but the numbers seem strange.

For example, when I added up all the physpages current values from /proc/user_beancounters of all running VPS's it turns out 1400MB of usage. When I looked at the wiki, I saw about adding kmem and the buffers which took it up to 1460MB, but when I type free -m it turns out...

# free -m
             total       used       free     shared    buffers     cached
Mem:          7899       7539        359          0        533       4972
-/+ buffers/cache:       2034       5864
Swap:         4110          0       4109


(2034MB Used after +/- buffers/cache)

When I add up the RSS values in 'ps aux' of all running VPS's, it turns out 1950MB, a much closer value.

Any ideas or explanations would be great. Which number is reliable?


http://static.openvz.org/userbars/openvz-user-2.png
ByteOnSite President
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Remote Backups / Vzdump
Next Topic: Regarding live virtual migration
Goto Forum:
  


Current Time: Tue Jun 25 18:55:50 GMT 2024

Total time taken to generate the page: 0.02810 seconds