OpenVZ Forum


Home » General » Support » But why is the RAM gone?!
Re: But why is the RAM gone?! [message #26682 is a reply to message #26681] Wed, 30 January 2008 19:39 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

I run this script on my notebook (1G RAM, running Gentoo kernel at the moment, i.e. no VEs, no OpenVZ) and this is what it shows:

pssum: 445684 used: 321684 diff: -124000

I suspect that process RSS is not counting the memory used by kernel on behalf of the process, plus there's memory used by kernel itself. So sum of all RSS only gives you the lower estimation.

Such memory not accounted by RSS (neither 'cached' nor 'buffers' columns of /proc/meminfo) includes page tables, network buffers and other different kernel objects. I am not a kernel expert myself but will try to ask one tomorrow.

In any case, this can't work as an indication of a problem.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Shutdown of VE affects interface on HW-node?
Next Topic: Starting & Stopping Multiple VPS...
Goto Forum:
  


Current Time: Sat Jul 13 13:04:47 GMT 2024

Total time taken to generate the page: 0.02214 seconds