Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have redhat 5.3 64bit. it has kernel 2.6.18-308.13.1.el5.
it has showing all memory used in chache.
[abc]$ free -m
total used free shared buffers cached
Mem: 24103 23965 137 0 16 2641
-/+ buffers/cache: 21308 2794
Swap: 8001 4176 3824
it IS "in use". If running applications need the space, they'll reclaim it. There is nothing to do.
you CAN do what you asked ... "sysctrl -w vm.drop_caches=3" BUT if you don't actually understand this already, don't do it. In a similar vein you can lower the "swappiness" value but these things work as they do by default for a reason, and most people have no valid reason to change them, including, I suspect, you.
Wellll ...
Looking at that, out of 24 Gig RAM, more than 88% is in use (i.e. not buffer/cache).
Maybe the OP has a reasonable request - what's using it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.