Monday, July 31, 2017

memory - Why drop caches in Linux?

In our servers we have a habit of dropping caches at midnight.



sync; echo 3 > /proc/sys/vm/drop_caches


When I run the code it seems to free up lots of RAM, but do I really need to do that. Isn't free RAM a waste?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...