Closed chrisyip closed 11 years ago
when starting new tasks, xunlei-lixian throws this error:
Exception in user code:
Traceback (most recent call last):
File "/tmp/mnt/sda1/asusware/bin/xunlei/lixian.py", line 21, in withretry
return f(*args, **kwargs)
File "/tmp/mnt/sda1/asusware/bin/xunlei/lixian.py", line 243, in read_task_page_url
data = parse_json_response(page)
File "/tmp/mnt/sda1/asusware/bin/xunlei/lixian.py", line 664, in parse_json_response
raise RuntimeError('Invalid response')
RuntimeError: Invalid response
你的系统多大内存?看起来像是内存不足。
ac66u 内存应该够的,重启一下就好很多了。
重启之后还有什么问题?
暂时没发现有问题。
那如果有别的问题就重新提交一个新的issue吧。 另外你后来贴的那个“Invalid response”是服务器不稳定造成的。最新的代码会忽略然后重试。
在下载单个多文件 BT 离线任务时,特别容易出现这个问题,而设备内存量和上图差不多。
测试下载两个 4GB 只有一个 DMG 文件的 BT 是没有问题,但是下载一个 4GB 的视频合集(每个约 300MB)时,就会出错,只能通过重启路由才能恢复正常。
注:已更新到最新版。
用top之类的命令检查一下具体的内存使用。
发起 lx list
时也会报内存错:
Traceback (most recent call last):
File "/opt/bin/lx", line 63, in <module>
execute_command()
File "/opt/bin/lx", line 60, in execute_command
commands[command](args[1:])
File "/tmp/mnt/sda1/asusware/bin/xunlei-lixian/lixian_cli_parser.py", line 165, in parse
return f(parser(args_list, *args, **kwargs))
File "/tmp/mnt/sda1/asusware/bin/xunlei-lixian/lixian_commands/list.py", line 38, in list_task
client = create_client(args)
File "/tmp/mnt/sda1/asusware/bin/xunlei-lixian/lixian_commands/util.py", line 53, in create_client
return XunleiClient(args.username, args.password, args.cookies)
File "/tmp/mnt/sda1/asusware/bin/xunlei-lixian/lixian.py", line 67, in __init__
if not self.has_logged_in():
File "/tmp/mnt/sda1/asusware/bin/xunlei-lixian/lixian.py", line 172, in has_logged_in
r = self.is_login_ok(self.urlread(url))
File "/tmp/mnt/sda1/asusware/bin/xunlei-lixian/lixian.py", line 99, in urlread
data = self.urlread1(url, **args)
File "/tmp/mnt/sda1/asusware/bin/xunlei-lixian/lixian.py", line 93, in urlread1
data = ungzip(data)
File "/tmp/mnt/sda1/asusware/bin/xunlei-lixian/lixian.py", line 826, in ungzip
return f.read()
File "/opt/lib/python2.7/gzip.py", line 249, in read
self._read(readsize)
File "/opt/lib/python2.7/gzip.py", line 308, in _read
self._add_read_data( uncompress )
File "/opt/lib/python2.7/gzip.py", line 326, in _add_read_data
self.extrabuf = self.extrabuf[offset:] + data
MemoryError
这是 top
显示的结果:
Mem: 171008K used, 68652K free, 0K shrd, 2456K buff, 140016K cached
CPU: 0.0% usr 0.0% sys 0.0% nic 100% idle 0.0% io 0.0% irq 0.0% sirq
Load average: 0.13 0.14 0.05 2/78 32694
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
1328 1 chrisyip R 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1364 1360 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1362 1360 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1360 1328 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1349 1346 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1348 1346 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1345 1 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1346 1345 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1347 1346 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1483 1482 chrisyip S N 5212 2.1 0 0.0 minidlna -f /etc/minidlna.conf -R
1477 1 chrisyip S 5212 2.1 0 0.0 minidlna -f /etc/minidlna.conf -R
1482 1477 chrisyip S 5212 2.1 0 0.0 minidlna -f /etc/minidlna.conf -R
1344 1343 chrisyip S N 4632 1.9 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1330 1 chrisyip S N 4632 1.9 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1350 1343 chrisyip S N 4632 1.9 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1343 1330 chrisyip S N 4632 1.9 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
799 1 chrisyip S 4220 1.7 0 0.0 ./asus_lighttpd -Df /opt/etc/asus_lighttpd.c
316 1 chrisyip S 4112 1.7 0 0.0 httpd
4759 1484 chrisyip S N 3600 1.4 0 0.0 smbd -D -s /etc/smb.conf
1484 1 chrisyip S N 3248 1.3 0 0.0 smbd -D -s /etc/smb.conf
1 0 chrisyip S 2616 1.0 0 0.0 /sbin/init
324 1 chrisyip S 2504 1.0 0 0.0 watchdog
295 1 chrisyip S 2416 1.0 0 0.0 /sbin/wanduck
239 1 chrisyip S 2416 1.0 0 0.0 usbled
325 324 chrisyip S 2416 1.0 0 0.0 ots
441 1 chrisyip S 2416 1.0 0 0.0 ntp
453 1 chrisyip S 2416 1.0 0 0.0 disk_monitor
315 1 chrisyip S 2416 1.0 0 0.0 wpsaide
155 1 chrisyip S 2408 1.0 0 0.0 console
1455 1 chrisyip S 2400 1.0 0 0.0 nmbd -D -s /etc/smb.conf
1456 1455 chrisyip S 2344 0.9 0 0.0 nmbd -D -s /etc/smb.conf
349 1 chrisyip S 2144 0.8 0 0.0 u2ec
355 354 chrisyip S 2144 0.8 0 0.0 u2ec
354 349 chrisyip S 2144 0.8 0 0.0 u2ec
314 1 chrisyip S 2140 0.8 0 0.0 /bin/wps_monitor
1473 1 chrisyip S 1712 0.7 0 0.0 mt-daapd -m
看剩余内存应该足够了的样子。要不然你盯着top看下运行lx list时,对应python进程的内存使用?
机皇啊,我还是hg320.梅林版有shibby大大的tomato好用?
@jzmno1 merlin 最大的优点就是从 ASUS 官方改过来的,有着先天的优势,比如 Web UI 的 ED2K、BT 下载工具,比如文件共享。可以说你只管刷就行了,不必折腾 aria2 之类也能满足常见需求。
这是跑 lx download
时的 top
结果:
Mem: 143424K used, 96236K free, 0K shrd, 2580K buff, 112564K cached
CPU: 0.0% usr 8.3% sys 0.0% nic 91.6% idle 0.0% io 0.0% irq 0.0% sirq
Load average: 0.16 0.23 0.21 2/78 31697
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
31697 31455 chrisyip R 1432 0.5 0 8.3 top
1861 1 chrisyip R 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1899 1895 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1897 1895 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1895 1861 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1884 1881 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1880 1 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1881 1880 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1883 1881 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1882 1881 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
2030 2029 chrisyip S N 6528 2.7 0 0.0 minidlna -f /etc/minidlna.conf -R
2014 1 chrisyip S 6528 2.7 0 0.0 minidlna -f /etc/minidlna.conf -R
2029 2014 chrisyip S 6528 2.7 0 0.0 minidlna -f /etc/minidlna.conf -R
1879 1878 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1863 1 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1885 1878 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1878 1863 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1277 1 chrisyip S 4524 1.8 0 0.0 ./asus_lighttpd -Df /opt/etc/asus_lighttpd.c
324 1 chrisyip S 4000 1.6 0 0.0 httpd
2027 1 chrisyip S N 3248 1.3 0 0.0 smbd -D -s /etc/smb.conf
1 0 chrisyip S 2616 1.0 0 0.0 /sbin/init
332 1 chrisyip S 2504 1.0 0 0.0 watchdog
303 1 chrisyip S 2416 1.0 0 0.0 /sbin/wanduck
239 1 chrisyip S 2416 1.0 0 0.0 usbled
1732 1 chrisyip S 2416 1.0 0 0.0 ntp
333 332 chrisyip S 2416 1.0 0 0.0 ots
1760 1 chrisyip S 2416 1.0 0 0.0 disk_monitor
323 1 chrisyip S 2416 1.0 0 0.0 wpsaide
154 1 chrisyip S 2408 1.0 0 0.0 console
1988 1 chrisyip S 2400 1.0 0 0.0 nmbd -D -s /etc/smb.conf
1989 1988 chrisyip S 2344 0.9 0 0.0 nmbd -D -s /etc/smb.conf
503 1 chrisyip S 2152 0.8 0 0.0 u2ec
515 503 chrisyip S 2152 0.8 0 0.0 u2ec
516 515 chrisyip S 2152 0.8 0 0.0 u2ec
322 1 chrisyip S 2140 0.8 0 0.0 /bin/wps_monitor
1998 1 chrisyip S 1712 0.7 0 0.0 mt-daapd -m
Mem: 147400K used, 92260K free, 0K shrd, 2580K buff, 112564K cached
CPU: 30.4% usr 9.7% sys 0.1% nic 58.5% idle 0.0% io 0.0% irq 0.9% sirq
Load average: 0.14 0.22 0.21 4/79 31719
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
1879 1878 chrisyip S N 5100 2.1 0 0.2 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1277 1 chrisyip S 4524 1.8 0 0.2 ./asus_lighttpd -Df /opt/etc/asus_lighttpd.c
31697 31455 chrisyip R 1432 0.5 0 0.2 top
31713 31496 chrisyip R 13500 5.6 0 0.0 {lx} /opt/bin/python2.7 /opt/bin/lx download
1861 1 chrisyip R 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1899 1895 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1897 1895 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1895 1861 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1884 1881 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1880 1 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1881 1880 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1882 1881 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1883 1881 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
2030 2029 chrisyip S N 6528 2.7 0 0.0 minidlna -f /etc/minidlna.conf -R
2014 1 chrisyip S 6528 2.7 0 0.0 minidlna -f /etc/minidlna.conf -R
2029 2014 chrisyip S 6528 2.7 0 0.0 minidlna -f /etc/minidlna.conf -R
1863 1 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1885 1878 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1878 1863 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
324 1 chrisyip S 4000 1.6 0 0.0 httpd
2027 1 chrisyip S N 3248 1.3 0 0.0 smbd -D -s /etc/smb.conf
1 0 chrisyip S 2616 1.0 0 0.0 /sbin/init
332 1 chrisyip S 2504 1.0 0 0.0 watchdog
303 1 chrisyip S 2416 1.0 0 0.0 /sbin/wanduck
239 1 chrisyip S 2416 1.0 0 0.0 usbled
1732 1 chrisyip S 2416 1.0 0 0.0 ntp
333 332 chrisyip S 2416 1.0 0 0.0 ots
1760 1 chrisyip S 2416 1.0 0 0.0 disk_monitor
323 1 chrisyip S 2416 1.0 0 0.0 wpsaide
154 1 chrisyip S 2408 1.0 0 0.0 console
1988 1 chrisyip S 2400 1.0 0 0.0 nmbd -D -s /etc/smb.conf
1989 1988 chrisyip S 2344 0.9 0 0.0 nmbd -D -s /etc/smb.conf
503 1 chrisyip S 2152 0.8 0 0.0 u2ec
515 503 chrisyip S 2152 0.8 0 0.0 u2ec
516 515 chrisyip S 2152 0.8 0 0.0 u2ec
322 1 chrisyip S 2140 0.8 0 0.0 /bin/wps_monitor
Mem: 148020K used, 91640K free, 0K shrd, 2580K buff, 112564K cached
CPU: 8.1% usr 0.9% sys 0.0% nic 90.0% idle 0.0% io 0.0% irq 0.7% sirq
Load average: 0.13 0.22 0.21 2/79 31744
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
31713 31496 chrisyip S 13952 5.7 0 7.1 {lx} /opt/bin/python2.7 /opt/bin/lx download
31697 31455 chrisyip R 1436 0.6 0 0.4 top
1861 1 chrisyip R 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1899 1895 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1897 1895 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1895 1861 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1884 1881 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1880 1 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1881 1880 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1883 1881 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1882 1881 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
2030 2029 chrisyip S N 6528 2.7 0 0.0 minidlna -f /etc/minidlna.conf -R
2014 1 chrisyip S 6528 2.7 0 0.0 minidlna -f /etc/minidlna.conf -R
2029 2014 chrisyip S 6528 2.7 0 0.0 minidlna -f /etc/minidlna.conf -R
1879 1878 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1863 1 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1885 1878 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1878 1863 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1277 1 chrisyip S 4524 1.8 0 0.0 ./asus_lighttpd -Df /opt/etc/asus_lighttpd.c
324 1 chrisyip S 4000 1.6 0 0.0 httpd
2027 1 chrisyip S N 3248 1.3 0 0.0 smbd -D -s /etc/smb.conf
1 0 chrisyip S 2616 1.0 0 0.0 /sbin/init
332 1 chrisyip S 2504 1.0 0 0.0 watchdog
303 1 chrisyip S 2416 1.0 0 0.0 /sbin/wanduck
239 1 chrisyip S 2416 1.0 0 0.0 usbled
1732 1 chrisyip S 2416 1.0 0 0.0 ntp
333 332 chrisyip S 2416 1.0 0 0.0 ots
1760 1 chrisyip S 2416 1.0 0 0.0 disk_monitor
323 1 chrisyip S 2416 1.0 0 0.0 wpsaide
154 1 chrisyip S 2408 1.0 0 0.0 console
1988 1 chrisyip S 2400 1.0 0 0.0 nmbd -D -s /etc/smb.conf
1989 1988 chrisyip S 2344 0.9 0 0.0 nmbd -D -s /etc/smb.conf
503 1 chrisyip S 2152 0.8 0 0.0 u2ec
515 503 chrisyip S 2152 0.8 0 0.0 u2ec
516 515 chrisyip S 2152 0.8 0 0.0 u2ec
322 1 chrisyip S 2140 0.8 0 0.0 /bin/wps_monitor
Mem: 148028K used, 91632K free, 0K shrd, 2580K buff, 112564K cached
CPU: 0.7% usr 1.9% sys 0.0% nic 96.8% idle 0.0% io 0.0% irq 0.3% sirq
Load average: 0.12 0.21 0.21 2/79 31772
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
31713 31496 chrisyip S 13952 5.7 0 0.0 {lx} /opt/bin/python2.7 /opt/bin/lx download
1861 1 chrisyip R 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1899 1895 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1897 1895 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1895 1861 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1884 1881 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1880 1 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1881 1880 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1882 1881 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1883 1881 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
2030 2029 chrisyip S N 6528 2.7 0 0.0 minidlna -f /etc/minidlna.conf -R
2014 1 chrisyip S 6528 2.7 0 0.0 minidlna -f /etc/minidlna.conf -R
2029 2014 chrisyip S 6528 2.7 0 0.0 minidlna -f /etc/minidlna.conf -R
1879 1878 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1863 1 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1885 1878 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1878 1863 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1277 1 chrisyip S 4524 1.8 0 0.0 ./asus_lighttpd -Df /opt/etc/asus_lighttpd.c
324 1 chrisyip S 4000 1.6 0 0.0 httpd
2027 1 chrisyip S N 3248 1.3 0 0.0 smbd -D -s /etc/smb.conf
1 0 chrisyip S 2616 1.0 0 0.0 /sbin/init
332 1 chrisyip S 2504 1.0 0 0.0 watchdog
303 1 chrisyip S 2416 1.0 0 0.0 /sbin/wanduck
239 1 chrisyip S 2416 1.0 0 0.0 usbled
1732 1 chrisyip S 2416 1.0 0 0.0 ntp
333 332 chrisyip S 2416 1.0 0 0.0 ots
1760 1 chrisyip S 2416 1.0 0 0.0 disk_monitor
323 1 chrisyip S 2416 1.0 0 0.0 wpsaide
154 1 chrisyip S 2408 1.0 0 0.0 console
1988 1 chrisyip S 2400 1.0 0 0.0 nmbd -D -s /etc/smb.conf
1989 1988 chrisyip S 2344 0.9 0 0.0 nmbd -D -s /etc/smb.conf
503 1 chrisyip S 2152 0.8 0 0.0 u2ec
515 503 chrisyip S 2152 0.8 0 0.0 u2ec
516 515 chrisyip S 2152 0.8 0 0.0 u2ec
322 1 chrisyip S 2140 0.8 0 0.0 /bin/wps_monitor
1998 1 chrisyip S 1712 0.7 0 0.0 mt-daapd -m
Mem: 143500K used, 96160K free, 0K shrd, 2580K buff, 112596K cached
CPU: 16.7% usr 4.7% sys 0.0% nic 76.2% idle 0.3% io 0.0% irq 1.7% sirq
Load average: 0.35 0.26 0.22 2/78 31794
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
311 1 chrisyip S 1432 0.5 0 0.6 telnetd
31697 31455 chrisyip R 1436 0.6 0 0.2 top
1861 1 chrisyip R 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1899 1895 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1897 1895 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1895 1861 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1884 1881 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1880 1 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1881 1880 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1883 1881 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1882 1881 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
2030 2029 chrisyip S N 6528 2.7 0 0.0 minidlna -f /etc/minidlna.conf -R
2014 1 chrisyip S 6528 2.7 0 0.0 minidlna -f /etc/minidlna.conf -R
2029 2014 chrisyip S 6528 2.7 0 0.0 minidlna -f /etc/minidlna.conf -R
1879 1878 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1863 1 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1885 1878 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1878 1863 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1277 1 chrisyip S 4524 1.8 0 0.0 ./asus_lighttpd -Df /opt/etc/asus_lighttpd.c
324 1 chrisyip S 4000 1.6 0 0.0 httpd
2027 1 chrisyip S N 3248 1.3 0 0.0 smbd -D -s /etc/smb.conf
1 0 chrisyip S 2616 1.0 0 0.0 /sbin/init
332 1 chrisyip S 2504 1.0 0 0.0 watchdog
303 1 chrisyip S 2416 1.0 0 0.0 /sbin/wanduck
239 1 chrisyip S 2416 1.0 0 0.0 usbled
1732 1 chrisyip S 2416 1.0 0 0.0 ntp
333 332 chrisyip S 2416 1.0 0 0.0 ots
1760 1 chrisyip S 2416 1.0 0 0.0 disk_monitor
323 1 chrisyip S 2416 1.0 0 0.0 wpsaide
154 1 chrisyip S 2408 1.0 0 0.0 console
1988 1 chrisyip S 2400 1.0 0 0.0 nmbd -D -s /etc/smb.conf
1989 1988 chrisyip S 2344 0.9 0 0.0 nmbd -D -s /etc/smb.conf
503 1 chrisyip S 2152 0.8 0 0.0 u2ec
515 503 chrisyip S 2152 0.8 0 0.0 u2ec
516 515 chrisyip S 2152 0.8 0 0.0 u2ec
322 1 chrisyip S 2140 0.8 0 0.0 /bin/wps_monitor
Mem: 143476K used, 96184K free, 0K shrd, 2580K buff, 112596K cached
CPU: 0.5% usr 1.3% sys 0.0% nic 97.6% idle 0.0% io 0.1% irq 0.1% sirq
Load average: 0.32 0.26 0.22 2/77 31817
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
31697 31455 chrisyip R 1436 0.6 0 0.2 top
1861 1 chrisyip R 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1899 1895 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1897 1895 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1895 1861 chrisyip S 10888 4.5 0 0.0 ./dm2_amuled -c /opt/etc/dm2_amule/
1884 1881 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1880 1 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1881 1880 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1883 1881 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
1882 1881 chrisyip S 7740 3.2 0 0.0 ./dm2_nzbget -D
2030 2029 chrisyip S N 6528 2.7 0 0.0 minidlna -f /etc/minidlna.conf -R
2014 1 chrisyip S 6528 2.7 0 0.0 minidlna -f /etc/minidlna.conf -R
2029 2014 chrisyip S 6528 2.7 0 0.0 minidlna -f /etc/minidlna.conf -R
1879 1878 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1863 1 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1885 1878 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1878 1863 chrisyip S N 5100 2.1 0 0.0 ./dm2_transmission-daemon -w /tmp/mnt/sda1/D
1277 1 chrisyip S 4524 1.8 0 0.0 ./asus_lighttpd -Df /opt/etc/asus_lighttpd.c
324 1 chrisyip S 4000 1.6 0 0.0 httpd
2027 1 chrisyip S N 3248 1.3 0 0.0 smbd -D -s /etc/smb.conf
1 0 chrisyip S 2616 1.0 0 0.0 /sbin/init
332 1 chrisyip S 2504 1.0 0 0.0 watchdog
303 1 chrisyip S 2416 1.0 0 0.0 /sbin/wanduck
239 1 chrisyip S 2416 1.0 0 0.0 usbled
1732 1 chrisyip S 2416 1.0 0 0.0 ntp
333 332 chrisyip S 2416 1.0 0 0.0 ots
1760 1 chrisyip S 2416 1.0 0 0.0 disk_monitor
323 1 chrisyip S 2416 1.0 0 0.0 wpsaide
154 1 chrisyip S 2408 1.0 0 0.0 console
1988 1 chrisyip S 2400 1.0 0 0.0 nmbd -D -s /etc/smb.conf
1989 1988 chrisyip S 2344 0.9 0 0.0 nmbd -D -s /etc/smb.conf
503 1 chrisyip S 2152 0.8 0 0.0 u2ec
515 503 chrisyip S 2152 0.8 0 0.0 u2ec
516 515 chrisyip S 2152 0.8 0 0.0 u2ec
322 1 chrisyip S 2140 0.8 0 0.0 /bin/wps_monitor
1998 1 chrisyip S 1712 0.7 0 0.0 mt-daapd -m
我也尝试过清理一下内存,用的是这页面介绍的方法:http://blog.midnightmonk.com/225/linux/free-up-and-release-unused-or-cached-memory.shtml,但是无效。
其实我感觉这并不是路由和固件的问题,毕竟可用内存是摆在那,更有可能是程序使用内存时有错。
在路由器里启动一个python的shell,然后运行s = 'x' * 10000000
看看是否出错:
$ python
Python 2.7.3 (default, Sep 26 2012, 21:53:58)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> s = 'x' * 10000000
>>>
正常执行,没有出错。
那就无法可解了。最多你把路由器的IP和登陆账号发给我上去亲自试试,或许能注意到点什么。
router: asus rt-ac66u firmware: asuswrt-merlin 3.0.0.4.372.31 tool: aria2 with
--event-poll=select --max-tries=0 --log="" --quiet=true --retry-wait=3
error logs: