Re: Memory usage [message #2526 is a reply to message #2468] |
Sat, 08 April 2006 19:17 |
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!
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.
|
|
|