OpenVZ Forum


Home » General » Support » Memory usage
Re: Memory usage [message #2526 is a reply to message #2468] Sat, 08 April 2006 19:17 Go to previous messageGo to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

eugeniopacheco, thanks a lot for such a detailed information, it really helps and wish all the users were doing so! Laughing

AFAICS, from your message this line makes you worry:
Mem: 1025084k total, 1002164k used, 22920k free, 95024k buffers
correct?

It is fully ok. This _doesn't_ mean, that memory is used by VPSs or its processes. Most likely your memory is used for caches. You can check this in cat /proc/meminfo output.
Kernel dynamically uses memory for disk caches, so "free" memory is _totally_ unused memory (22Mb in your case), while "used" memory includes caches which are reclaimed when needed automatically.

Now about UBC settings. oomguarpages and vmguarpages are _guarantees_, not limits. oomguarpages guarantees that Out-Of-Memory killer won't try to kill processes in the VPS if it uses less than guaranteed memory pages. vmguarpages guarantees that OS will allow VPS to mmap such amount of private pages.
And the limit your are looking for is 'privvmpages' I think.


http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ovzkernel 2.6.16-026test009.1 and RHEL 4 update 3 problem
Next Topic: linux 2.6.8 compile error arch/i386/kernel/process.c
Goto Forum:
  


Current Time: Mon Oct 14 13:14:36 GMT 2024

Total time taken to generate the page: 0.05669 seconds