What's using all of my RAM?
Hi,
I'm somewhat noob-ish to server administration. I have Resource Monitor on my cPanel VPS, and it is consistently saying that my server is at 94-96% of RAM usage. I recently switched hosts, on my old host I had 6GB (but regularly never used over 512MB), and on this host I have 4GB with the SAME files (but am almost using all of it). What's going on here? Any ideas?
-
Hello, First you can check the process using the below command then you will get exact idea which process taking memory. top -c 0 -
Hi, Here is what I get Gyazo - 3cd89c9fcd42ddf6b8da5d6510108b76.png 0 -
This is proper memory usage for Linux. The linux kernel puts a LOT of things into the kernel cache, for easy access later. The thing you *don't* want is hardly any memory cached, and it all being used. From your screenshot, everything is working properly. 0 -
This is proper memory usage for Linux. The linux kernel puts a LOT of things into the kernel cache, for easy access later. The thing you *don't* want is hardly any memory cached, and it all being used. From your screenshot, everything is working properly.
Huh.. I learned something then! I guess my old host was just that much more screwed up (I left them since they had a lot of other problems), as I used like 512MB maximum.0 -
It could have been the type of virtualization if they were using openvz for example with the old UBC parameters will give out skewed results you would need to check your real memory usage via /proc/user_beancounters 0 -
It could have been the type of virtualization if they were using openvz for example with the old UBC parameters will give out skewed results you would need to check your real memory usage via /proc/user_beancounters
Ah yes, that's it! My old host was OpenVZ, where my new host is KVM. Thanks for your knowledge!0
Please sign in to leave a comment.
Comments
6 comments