When Centos is used to release the cache, it will find that sometimes the system is idle, but all the memory is consumed. Www.2cto.com is actually an illusion that the memory is not actually consumed but used as a cache. when the system has programs running these memories, it can still be used for program running...
When Centos is used to release the cache, it will find that sometimes the system is idle, but all the memory is consumed. Www.2cto.com is actually an illusion that the memory is not actually consumed but used as a cache,
When the system runs the program, the memory can still be used for running the program. To release the cache as soon as possible, run the following command. To avoid data loss in the cache, run the following command: www.2cto.com sync # To free pagecache: echo 1>/proc/sys/vm/drop_caches # To free dentries and inodes: echo 2>/proc/sys/vm/drop_caches # To free pagecache, dentries and inodes: echo 3>/proc/sys/vm/drop_caches
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service