anybody knows a way to..

Tornado

Verified User
Joined
Sep 24, 2006
Messages
9
i have a VPS on centos..

with 512 Of ram, but something i have only 100 MB :S

and yesterday it says 10 MB

Really slow, and i need a way to keep the memory up ..

anybody knows a way to do that?
 
i did that, but they are not the problem.

Look, when i restart the Vps, it works GREAT!

with 370 MB :)

but centos is consuming a lot of memory, and maybe, i think there is a way to keep defrag the memory and have all disponible.
 
so i really dont know why is taking a lot of memory :\

mmmm in centos forum, says that centos takes the memory and use it for buffer and cache.. but :mad:

i need the memory to host a big Site!
 
To see what is consuming the most memory use the command "top" as root.

There will be a line with "MEM" and it will show you which is using the most memory.

You can also tell how much memory you are actually using with the command "free".

Just because memory is caching up does not mean your running out of it. With the free command if you see alot of swap space being used then you will know you are running out of ram.
 
but sometimes when it says 0 MB free.

i cant acces to any site :S

because it says. "server error, posible downtime, or maintence."

something like that. :S

and i dont wanna that, but is cool.

total 515528
used 293020
free 222508
shared 0
buffers 13052
cached Mem: 212060

-/+ buffers/cache:
used: 67072
total: 448456

Swap:
total: 524280
used: 0
Free: 524280
 
you may need to optimize my.cnf and httpd.conf file to use less memory.
 
If you have a busy site using a SQL backend then you are going to need more than 512MB RAM.

As was said watch the load on the server, if you see it going higher and higher also keep an eye on the swap. If you start doing a lot of swapping you need more RAM. You may be able to help with some optimizations but that will only get you so much.
 
Back
Top