An old PHP backend server was checked with free-m today and found that the memory was full. Next, press shift + m, that is, sort by memory usage percentage, and find that the process ranked first occupies 0.9%. what is the occupation? Google caches some used files to the memory to improve efficiency of centos. If this is the case, I don't need such file performance, so I can release it. You can run the following two commands: # sync # ec
An old PHP backend server was checked with free-m today and found that the memory was full.
Next, press shift + m, that is, sort by memory usage percentage, and find that the process ranked first occupies 0.9%. what is the occupation? Google caches some used files to the memory to improve efficiency of centos. If this is the case, I don't need such file performance, so I can release it. You can run the following two commands:
# Sync
# Echo 3>/proc/sys/vm/drop_caches
After the memory is released, the usage is very low, as shown below: