代码改变世界

阅读排行榜

解决linux提示 (too many file open)

2018-03-24 14:59 by yang9527, 526 阅读, 收藏,
摘要: 开文件limits.conf,修改文件(注意如果操作的用户为root,必须指定写出root.)。 # - NOTE: group and wildcard limits are not applied to root.# To apply a limit to the root user, <dom 阅读全文

linux 释放内存cached方法

2018-03-24 15:06 by yang9527, 185 阅读, 收藏,
摘要: 查看当前内存使用情况,使用命令free -m 使用命令echo 1 > /proc/sys/vm/drop_caches,再次使用命令free -m将会发现已经减少。 阅读全文