OpenVZ Forum


Home » General » Support » VPS are EATING RAM!! WHY?
VPS are EATING RAM!! WHY? [message #35283] Sun, 15 March 2009 16:04 Go to next message
dedicados is currently offline  dedicados
Messages: 46
Registered: February 2009
Location: Mexico
Member

Hi guys, i have a

AMD Opteron(tm) Processor 250 with 6 GB Ram, on centos 5.2 i install openvz, and like panel i use VTONF.

i have only running 5 vps and are using 5GB ram, why? if each vps have max 512 ram.

what can be the problem?


EDIT** i kill 2 VPS and here is my ram info

Type Value
Total RAM 5956.84 MB
Free RAM 2996.852 MB
Used RAM 2959.988 MB
SWAP 1983.992 MB
Free SWAP 1983.992 MB
Used SWAP 0 MB
Buffers 447.469 MB
Cached 2134.977 MB
Cached SWAP 0 MB

[Updated on: Sun, 15 March 2009 16:06]

Report message to a moderator

Re: VPS are EATING RAM!! WHY? [message #35294 is a reply to message #35283] Mon, 16 March 2009 11:50 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

there may be no problem here.
Your behavior looks like a pure Linux behavior.
The kernel might use free memory for saving temporary objects.
If somebody asks for memory it'll free them and satisfy a request.
Do you have any problems with this bahavior?
Re: VPS are EATING RAM!! WHY? [message #35304 is a reply to message #35294] Tue, 17 March 2009 01:12 Go to previous messageGo to next message
dedicados is currently offline  dedicados
Messages: 46
Registered: February 2009
Location: Mexico
Member

actually no, but i just get surprised how my ram was eaten, load is good, never up of 0.15

good to know that isnt a big problem.
Re: VPS are EATING RAM!! WHY? [message #35381 is a reply to message #35304] Sat, 21 March 2009 05:08 Go to previous messageGo to next message
dedicados is currently offline  dedicados
Messages: 46
Registered: February 2009
Location: Mexico
Member

only 2 VE online and my 6GB server had only 256mb free of ram.

one of my VE is only using 700mb ram

where is all !!?!?!?
Re: VPS are EATING RAM!! WHY? [message #35393 is a reply to message #35381] Mon, 23 March 2009 11:38 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Note the «buffers» and «cached» columns in 'free' output. Linux is actually using free memory for buffers and caches. Then more memory is needed it will shrink those buffers and caches. It is just way more efficient to use the memory for caches than to do nothing.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: VPS are EATING RAM!! WHY? [message #35403 is a reply to message #35393] Tue, 24 March 2009 04:37 Go to previous messageGo to next message
dedicados is currently offline  dedicados
Messages: 46
Registered: February 2009
Location: Mexico
Member

so its ok?? because VPS load are 0.1 0.05 loads are very low

if not, how to fix it?

thanks kir
Re: VPS are EATING RAM!! WHY? [message #35443 is a reply to message #35393] Wed, 25 March 2009 15:18 Go to previous message
dedicados is currently offline  dedicados
Messages: 46
Registered: February 2009
Location: Mexico
Member

Todays RAM

Total RAM 5956.84 MB
Free RAM 169.313 MB
Used RAM 5787.527 MB
SWAP 1983.992 MB
Free SWAP 1983.918 MB
Used SWAP 0.074 MB
Buffers 92.156 MB
Cached 5093.875 MB
Cached SWAP 0 MB
Active 1069.402
Previous Topic: HEEELP !!!! VE was deleted by error and all data is there !!!
Next Topic: VM was delted, how can I restore from rsync backup?
Goto Forum:
  


Current Time: Sat May 11 06:22:07 GMT 2024

Total time taken to generate the page: 0.01619 seconds