linux 系统释放资源一般方法
1)查看 free -m
2)同步到硬盘 sync
3)释放页面 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
↑上一篇:为nginx设置空主机头,默认虚拟主机
↓下一篇:centos服务器, 装vsftp不好用,其实可以用自带的sftp就够了