Problem in clearing up cache when it reaches half of ram size
Dear All
Im currently the following running following command sudo sync && sudo sysctl -w vm.drop_caches=3 && sudo sysctl -w vm.drop_caches=0 very half hour to clear cache of my server .Im currently trying to clear cache when it reaches only half of my Ram size .Any help regarding it how can i execute these command when it reach half of my ram size [root@localhost ~]# free -m total used free shared buffers cached Mem: 3823 535 3288 0 41 351 -/+ buffers/cache: 142 3680 Swap: 6047 0 6047 |
Hi,
why do you want to do this? Evo2. |
Quote:
Quote:
A lot of Linux users think there is some good reason to stop the cache from filling the rest of memory (beyond what is used for everything else). In almost all cases THEY ARE WRONG. |
Quote:
|
@OP: as with the above comments, you (almost definitely) don't want to be doing that.
Try reading this http://www.linuxatemyram.com/ |
All times are GMT -5. The time now is 09:34 AM. |