New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
http://lmgtfy.com/?q=How+do+I+FREE+up+memory+on+centos
On one of my servers I get this:
and on another I have this:
There is something wrong with the last one right? It isn't caching or buffering. They both have 64gb of ram. Is there any way to force or start caching and buffering?
@conlustro
Run this
and then try free -m again. See if it helps.
Chances are some of this is cached memory. You can also run top or htop to see what processes are consuming the majority of your memory.
Thanks a lot for that, I guess that is the only way.
http://www.linuxatemyram.com/
It's quite a nice site explaining Linux RAM usage.
@linuxthefish
Hi saw that one Janevski thanks. I have two servers setup exactly the same way but the ram is behaving differently I checked the make and speed of both servers and they seem to match up, but one servers seems to buffer much better than the other, I don't know what's going on.
Are you referring to freeing up ram on the host node or a VM ?
Looking at the free output one would assume a node.. 64 GB RAM although it could just be a dedicated server with no virtualization
And the prize goes to ATHK! It's a host node. I ran the above command and it seems like i't doing pretty good now. Would a soft raid1 affect the CPU or RAM usage?
Yay!!!! I would like to thank everybody thank you thank you..
There are three options available to flush cache of linux memeory. Use one of below as per your requirements.
sync; echo 3 > /proc/sys/vm/drop_caches
sync; echo 2 > /proc/sys/vm/drop_caches
sync; echo 1 > /proc/sys/vm/drop_caches