Linux memory computing checks the server parameters. when the free-m command is executed, it is found that the available memory is very small, for example, www.2cto.com. However, my server only has one oracle, as a database server, there are no other applications, and the memory usage is so...
Linux memory computing checks the server parameters. when the free-m command is executed, it is found that the current available memory is very small, such as: www.2cto.com
However, my server only has one oracle database server, and there are no other applications. the memory usage is so high that it is not scientific. so I checked the related articles on the Internet, this means that I have been "spoofed" by linux. the memory management mechanism of linux is different from that of windows. The idea of linux Memory management mechanism is to ensure the maximum memory utilization, the kernel will apply for the remaining memory as cached, and cached is not in the free category. When the system runs for a long time, it will find that cached is very large. for systems with frequent file read/write operations, this phenomenon is more obvious. Intuitively, the free memory will be very small at this time, but it does not mean that the available memory is small. when a program needs to apply for a large memory, if the free memory is insufficient, the kernel will recycle some of the cached memory and allocate the recycled memory to the application. Therefore, for linux systems, the memory that can be allocated is not only free memory, but also cached memory (in fact, buffers ). Www.2cto.com in fact, the linux available memory = free + cached + buffers, not just the free part!
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