找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 11725|回复: 11

手动释放内存 怎么搞?知道说声

[复制链接]
我看到 固件中有个 释放内存  怎么弄 ?谢谢
我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层

RE: 如何不重启 手动释放内存

1# zhukongkui


望高手指点 谢谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

用鼠标左键去点“释放内存”按钮。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

楼上回答精辟
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
4# xixixaxa


可能我没说清楚
我是问如何搞到固件里 也就怎么安装 我的固件没有

点评

RA-MOD里面的定制功能,官网版本的LUCI没有这个按钮  详情 回复 发表于 2014-8-25 16:02
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
没人回答
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

没人回答
zhukongkui 发表于 2011-6-14 09:03

手动释放内存方法,ssh登录路由,输入
  1. echo 3 > /proc/sys/vm/drop_caches
复制代码

点评

如何 加入计划任务中  详情 回复 发表于 2017-12-8 21:28
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

期待高手出现。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

7#的方法就是了,这是linux的通用释放方法,不过这个东东得慎用可能会有问题。偶在同样的一台tp841测试过,ddwrt build 14929 15778如果开启无线接口,这个方法在经过5天运行过tp841仍然会因为内存耗光而导致系统重启。但是关闭无线接口以后基本没问题。而且这种方法最好是在凌晨没人用时执行,最好再追加rc restart。它可能会导致一些异常问题。如果你没有看uptime的习惯,建议还是每天reboot吧。偶下面的日志输出是一台dir600也是关闭无线接口,没测试过开启无线接口是否有问题。
  1. root@onlyit:/tmp# cat free*
  2. #!/bin/sh
  3. sync;sleep 3;echo 3 > /proc/sys/vm/drop_caches;sleep 3;echo 0 > /proc/sys/vm/drop_caches
  4. echo "`(date +"%m/%d/%Y %T")` `free | grep "Total" | awk 'BEGIN{ORS=""}{ print "Memory Space : Total "$2 " KB";print " Used "$3" KB";print " Free "$4" KB\012";}'`" >> /tmp/log
  5. left=`free | grep "Total" | awk '{print $NF}'`;if [ $left -lt 10240 ] ;then reboot;fi
  6. root@onlyit:/tmp# cat log | grep Me
  7. 06/13/2011 06:05:06 Memory Space : Total 29600 KB Used 7476 KB Free 22124 KB
  8. 06/14/2011 06:05:06 Memory Space : Total 29600 KB Used 7476 KB Free 22124 KB
  9. 06/15/2011 06:05:06 Memory Space : Total 29600 KB Used 7500 KB Free 22100 KB
  10. root@onlyit:/tmp#
复制代码
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

释放内存
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报


RA-MOD里面的定制功能,官网版本的LUCI没有这个按钮
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

axishero 发表于 2011-6-14 12:48
手动释放内存方法,ssh登录路由,输入

如何 加入计划任务中
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-29 04:20

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表