Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

挖个坑,请问镜像大小还能有压缩的空间吗? #3

Closed
4thanks opened this issue Apr 12, 2023 · 26 comments
Closed

挖个坑,请问镜像大小还能有压缩的空间吗? #3

4thanks opened this issue Apr 12, 2023 · 26 comments

Comments

@4thanks
Copy link

4thanks commented Apr 12, 2023

常见ARM路由有128M的nand,装完docker其实还有剩60多M,但获取下载解压还是挤不下!
之前有在openwrt捣鼓unbound和dnscrypt但都不太行,现在是用mosdns和smartdns配合,不过都对国外网站还是不太“稳”,所以想试试这个docker。

不过之前没怎么用过docker,还在学习种,下一步如果镜像大小不能再小的话,先找个u盘挂载试试。
以下是我对paopaodns理解的网络拓扑图,有些地方还不太懂,以后慢慢问。

paopaodns2

@kkkgo
Copy link
Owner

kkkgo commented Apr 12, 2023

谢谢,你这个图画的很好~!
关于工作逻辑可以查看文章: https://blog.03k.org/post/paopaodns.html
图中大部分是对的,就是socks那边不太对,简单来说是这样的:
mosdns仅作分流作用,他的上游是local-unbound 5301(递归)和dnscrypt-unbound 5304(加密转发)
5301是local unbound
5302是使用宽带IP裸连的dnscrypt,5303是用socks5代理连的dnscrypt(仅使用了SOCKS5参数时生效,会多开一个dnscrypt实例),他们都会被dnscrypt-unbound缓存。
当5303失效(比如SOCKS5代理坏了)无法正常工作的时候,会回退到5302裸连。

@kkkgo
Copy link
Owner

kkkgo commented Apr 12, 2023

关于镜像大小,目前未解压前是二十多M,解压后是六十多M,已经算很小的了,这个docker其实更适合运行在NAS这种空间和内存比较富裕的环境中,因为他是递归DNS,内存越大缓存效果越好,redis的持久化储存也需要空间。docker启动后会自动根据性能设置配置文件,最低情况下有200M空间是比较好的。

@4thanks
Copy link
Author

4thanks commented Apr 12, 2023

找了个u盘,捣腾了很久终于用上了,就是启动初始化很慢,差不多3-5分钟的样子,不过目前有下面几个问题:

  1. 容器日志有个警告WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.不知道什么意思。

  2. openwrt的系统日志也有个提示 kern.err kernel: [77088.336121] Out of memory: Killed process 16020 (unbound) total-vm:2111572kB, anon-rss:316128kB, file-rss:0kB, shmem-rss:0kB, UID:1001 pgtables:2068kB oom_score_adj:0

  3. 用dig查不知道为什么返回ipv6?但是我没IPv6地址,用的是合租共享宽带上海电信SDN

openwrt本机查询

kdig +short TXT whoami.ds.akahelp.net -p 5443
"ns" "2a01:3a0:53:53::"

电脑上查的

dig +short TXT whoami.ds.akahelp.net @192.168.5.1 -p 5443
"ip" "101.87.77.39"
"ns" "2a04:e4c0:20::73"
"ecs" "101.87.77.0/24/24"

容器日志

stderr: rm: can't remove '/tmp/*.conf': No such file or directory
stderr: rm: can't remove '/tmp/*.toml': No such file or directory
stdout: PID   USER     TIME  COMMAND
stdout:     1 root      0:00 {init.sh} /bin/sh /usr/sbin/init.sh
stdout:    13 root      0:00 crond
stdout:    41 root      0:00 dnscrypt-proxy -config /data/dnscrypt-resolvers/dnscrypt.toml
stdout:    42 root      0:00 mosdns start -d /tmp -c mosdns.yaml
stdout:    57 root      0:00 unbound -c /tmp/unbound_raw.conf
stdout:    58 root      0:00 {watch_list.sh} /bin/sh /usr/sbin/watch_list.sh
stdout:    59 root      0:00 {data_update.sh} /bin/sh /usr/sbin/data_update.sh
stdout:    61 root      0:00 sleep 62
stdout:    66 unbound   0:00 unbound -c /tmp/unbound_forward.conf
stdout:    67 root      0:00 ps
stderr: Setting up watches.
stderr: Setting up watches.
stderr: Watches established.
stderr: Watches established.
stdout: 68:C 12 Apr 2023 20:03:42.765 # systemd supervision requested or auto-detected, but Redis is compiled without libsystemd support!
stdout: 68:C 12 Apr 2023 20:03:42.766 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
stdout: 68:C 12 Apr 2023 20:03:42.766 # Redis version=7.0.10, bits=32, commit=00000000, modified=0, pid=68, just started
stdout: 68:C 12 Apr 2023 20:03:42.766 # Configuration loaded
stdout: 68:M 12 Apr 2023 20:03:45.850 # Server initialized
stdout: 68:M 12 Apr 2023 20:03:45.858 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
stdout: fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/armv7/APKINDEX.tar.gz
stdout: fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.ustc.edu.cn/alpine/v3.17/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.ustc.edu.cn/alpine/v3.17/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.nju.edu.cn/alpine/v3.17/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.nju.edu.cn/alpine/v3.17/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.aliyun.com/alpine/v3.17/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.aliyun.com/alpine/v3.17/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirror.lzu.edu.cn/alpine/v3.17/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirror.lzu.edu.cn/alpine/v3.17/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.17/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.17/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.zju.edu.cn/alpine/v3.17/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.zju.edu.cn/alpine/v3.17/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.sjtug.sjtu.edu.cn/alpine/v3.17/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.sjtug.sjtu.edu.cn/alpine/v3.17/community/armv7/APKINDEX.tar.gz
stdout: v3.17.3-66-gebcd1fec3cb [https://dl-cdn.alpinelinux.org/alpine/v3.17/main]
stdout: v3.17.3-73-g126a1226592 [https://dl-cdn.alpinelinux.org/alpine/v3.17/community]
stdout: v3.17.3-66-gebcd1fec3cb [https://mirrors.ustc.edu.cn/alpine/v3.17/main]
stdout: v3.17.3-72-g5aa672ac70b [https://mirrors.ustc.edu.cn/alpine/v3.17/community]
stdout: v3.17.3-66-gebcd1fec3cb [https://mirrors.nju.edu.cn/alpine/v3.17/main]
stdout: v3.17.3-73-g126a1226592 [https://mirrors.nju.edu.cn/alpine/v3.17/community]
stdout: v3.17.3-66-gebcd1fec3cb [https://mirrors.aliyun.com/alpine/v3.17/main]
stdout: v3.17.3-62-g0f73cd3b559 [https://mirrors.aliyun.com/alpine/v3.17/community]
stdout: v3.17.3-26-ge88dd296088 [https://mirror.lzu.edu.cn/alpine/v3.17/main]
stdout: v3.17.3-27-g18b8b70ef8b [https://mirror.lzu.edu.cn/alpine/v3.17/community]
stdout: v3.17.3-66-gebcd1fec3cb [https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.17/main]
stdout: v3.17.3-73-g126a1226592 [https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.17/community]
stdout: v3.17.3-66-gebcd1fec3cb [https://mirrors.zju.edu.cn/alpine/v3.17/main]
stdout: v3.17.3-73-g126a1226592 [https://mirrors.zju.edu.cn/alpine/v3.17/community]
stdout: v3.17.3-66-gebcd1fec3cb [https://mirrors.sjtug.sjtu.edu.cn/alpine/v3.17/main]
stdout: v3.17.3-73-g126a1226592 [https://mirrors.sjtug.sjtu.edu.cn/alpine/v3.17/community]
stdout: OK: 17798 distinct packages available
stdout: OK: 31 MiB in 42 packages
stdout: 2023-04-12 20:07:00 CST
stdout: /etc/unbound/named.cache Same hash, skip update.
stdout: used_memory_human:726.55K
stdout: 2023-04-12 20:07:02 CST
stdout: /data/Country-only-cn-private.mmdb Same hash, skip update.

系统日志

Wed Apr 12 20:03:52 2023 kern.info kernel: [77088.327772] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/docker/16ba53c48589be8686028ebe5b4bccc55189fa2de99c644512053c7056092de0,task=unbound,pid=16020,uid=1001
Wed Apr 12 20:03:52 2023 kern.err kernel: [77088.336121] Out of memory: Killed process 16020 (unbound) total-vm:2111572kB, anon-rss:316128kB, file-rss:0kB, shmem-rss:0kB, UID:1001 pgtables:2068kB oom_score_adj:0
Wed Apr 12 20:04:03 2023 daemon.err dockerd[6353]: time="2023-04-12T20:04:03.858732538+08:00" level=error msg="Handler for GET /system/df returned error: context canceled"
Wed Apr 12 20:04:07 2023 daemon.err dockerd[6353]: time="2023-04-12T20:04:07.594224069+08:00" level=error msg="Handler for GET /containers/16ba53c48589be8686028ebe5b4bccc55189fa2de99c644512053c7056092de0/top returned error: ps: ps: unrecognized option: a"
Wed Apr 12 20:05:06 2023 daemon.err uhttpd[1914]: awk: cmd. line:1: Network is down

@kkkgo
Copy link
Owner

kkkgo commented Apr 12, 2023

我也没想到ARM镜像能顺利跑起来,redis那个警告warnning不用管,第二个报错似乎是提示你内存不足,你free -m看看内存还有多少?如果能正常跑也没问题。5443是你容器映射出来的端口吗?你看ip那一栏就可以了,ns你可以认为是对方的ip。

@4thanks
Copy link
Author

4thanks commented Apr 12, 2023

5443是你容器映射出来的端口吗?你看ip那一栏就可以了,ns你可以认为是对方的ip。

对的,暂时先用这个端口测试,以免搞不定整个网络挂掉😂

第二个报错似乎是提示你内存不足,你free -m看看内存还有多少?如果能正常跑也没问题。

root@OpenWrt:~# free -m
              total        used        free      shared  buff/cache   available
Mem:         507764      143028       90380        1632      274356      312932
Swap:             0           0           0

@kkkgo
Copy link
Owner

kkkgo commented Apr 12, 2023

内存确实有点小,这是512M的路由器吧?上面那个报错似乎是说因为内存不足把你unbound杀掉了,你可以进容器里面执行ps -ef看看进程还在不在(应该有两个unbound进程),如果还在的话就正常。不过怎么说能跑起来也是有点性能捉急了,不得不说真能折腾。哈哈。

@kkkgo
Copy link
Owner

kkkgo commented Apr 12, 2023

跑的起docker的路由器应该也不便宜吧,要不要整个垃圾N1玩玩?

@4thanks
Copy link
Author

4thanks commented Apr 12, 2023

其实这比我之前用adguardhome占的内存要少很多,之前动不动内存用掉50%以上,但这个docker仅占12%左右的内存。

root@OpenWrt:~# docker exec -it paopaodns /bin/sh
/data # ps -ef
PID   USER     TIME  COMMAND
    1 root      0:00 {init.sh} /bin/sh /usr/sbin/init.sh
   13 root      0:00 crond
   41 root      0:19 dnscrypt-proxy -config /data/dnscrypt-resolvers/dnscrypt.t
   42 root      0:03 mosdns start -d /tmp -c mosdns.yaml
   68 root      1:21 redis-server 127.0.0.1:6379
   69 root      0:00 {watch_list.sh} /bin/sh /usr/sbin/watch_list.sh
   70 root      0:00 {watch_list.sh} /bin/sh /usr/sbin/watch_list.sh
   71 root      0:00 inotifywait -e modify /data/force_cn_list.txt /data/force_
   72 root      0:00 inotifywait -e modify /etc/unbound/named.cache
  207 root      0:00 /bin/sh
  213 root      0:00 ps -ef

上面那两个watch_list是unbound的吗?

跑的起docker的路由器应该也不便宜吧,要不要整个垃圾N1玩玩?

😂以前路由矿难的七八十收的,前段时间也刚刚收了个电视盒子,不过暂时搞不定,继续在openwrt上捣腾。

@kkkgo
Copy link
Owner

kkkgo commented Apr 12, 2023

你可以对比上面那个你发的容器日志:

stdout: PID   USER     TIME  COMMAND
stdout:     1 root      0:00 {init.sh} /bin/sh /usr/sbin/init.sh
stdout:    13 root      0:00 crond
stdout:    41 root      0:00 dnscrypt-proxy -config /data/dnscrypt-resolvers/dnscrypt.toml
stdout:    42 root      0:00 mosdns start -d /tmp -c mosdns.yaml
stdout:    57 root      0:00 unbound -c /tmp/unbound_raw.conf
stdout:    58 root      0:00 {watch_list.sh} /bin/sh /usr/sbin/watch_list.sh
stdout:    59 root      0:00 {data_update.sh} /bin/sh /usr/sbin/data_update.sh
stdout:    61 root      0:00 sleep 62
stdout:    66 unbound   0:00 unbound -c /tmp/unbound_forward.conf
stdout:    67 root      0:00 ps

应该有这些进程才对。watch_list是监控数据文件发生变化后重启服务的,就你发的这个容器启动的时候的日志来说,PID 41 42 57 66都是要运行的程序……如果你找不到unbound -c /tmp/……的程序说明他已经被杀掉了,你现在的dns解析可能全部故障转移到dnscrypt上去了……

@4thanks
Copy link
Author

4thanks commented Apr 12, 2023

注意到了,两个unbound进程应该是被杀掉了,但这个docker并没有占很多内存,有没有办法对小内存的这个问题优化?
是不是同时启动“并发”时占满?可不可以按顺序一个一个启动?

截屏2023-04-12 23 25 29

截屏2023-04-12 23 25 58

截屏2023-04-12 23 26 22

@kkkgo
Copy link
Owner

kkkgo commented Apr 12, 2023

你可以尝试修改容器里面的/usr/sbin/init.sh,从第41行开始有MEM1~MEM4定义相关程序最低启动内存,你可以把他的数字定义为更低的值,但不一定有用。修改完成后重启容器生效。

41 MEM1=25m
42 MEM2=50m
43 MEM3=500000
44 MEM4=200mb

@4thanks
Copy link
Author

4thanks commented Apr 13, 2023

你可以尝试修改容器里面的/usr/sbin/init.sh,从第41行开始有MEM1~MEM4定义相关程序最低启动内存,你可以把他的数字定义为更低的值,但不一定有用。修改完成后重启容器生效。

改后重启还是没unbound进程,昨天太晚也没继续捣腾了

@kkkgo
Copy link
Owner

kkkgo commented Apr 14, 2023

等编译完成后,你可以删除镜像再重新拉取新镜像试试,对低内存优化了一下。如果不成功,可以把启动日志贴一下。

@4thanks
Copy link
Author

4thanks commented Apr 15, 2023

谢谢,不过小内存确实捉急,最新镜像依然会杀unbound!估计是没办法了😂

docker日志

stdout:               total        used        free      shared  buff/cache   available
stdout: Mem:            496         133          68           1         295         313
stdout: Swap:             0           0           0
stdout:               total        used        free      shared  buff/cache   available
stdout: Mem:         495.9M      133.5M       67.5M      844.0K      294.8M      312.6M
stdout: Swap:             0           0           0
stdout: MEMSIZE:312
stdout: [Warning] LOW MEMORY!
stdout: ====ENV TEST====
stdout: MEM:4m 4m 10000 16mb
stdout: CORES:4
stdout: POWCORES:4
stdout: TZ:Asia/Shanghai
stdout: UPDATE:weekly
stdout: DNS_SERVERNAME:PaoPaoDNS,blog.03k.org
stdout: ETHIP:172.17.0.2
stdout: DNSPORT:53
stdout: SOCKS5:no
stdout: CNAUTO:yes
stdout: IPV6:no
stdout: ====ENV TEST====
stderr: Setting up watches.
stderr: Watches established.
stderr: Setting up watches.
stderr: Watches established.
stdout: PID   USER     TIME  COMMAND
stdout:     1 root      0:00 {init.sh} /bin/sh /usr/sbin/init.sh
stdout:    13 root      0:00 crond
stdout:    45 root      0:00 dnscrypt-proxy -config /data/dnscrypt-resolvers/dnscrypt.toml
stdout:    46 root      0:00 mosdns start -d /tmp -c mosdns.yaml
stdout:    63 root      0:00 {data_update.sh} /bin/sh /usr/sbin/data_update.sh
stdout:    65 root      0:00 sleep 295
stdout:    66 root      0:00 {watch_list.sh} /bin/sh /usr/sbin/watch_list.sh
stdout:    67 root      0:00 {watch_list.sh} /bin/sh /usr/sbin/watch_list.sh
stdout:    68 root      0:00 inotifywait -e modify /etc/unbound/named.cache
stdout:    69 root      0:00 inotifywait -e modify /data/force_cn_list.txt /data/force_nocn_list.txt /data/Country-only-cn-private.mmdb
stdout:    71 unbound   0:00 unbound -c /tmp/unbound_forward.conf
stdout:    77 unbound   0:00 unbound -c /tmp/unbound_raw.conf
stdout:    81 root      0:00 ps
stdout: 82:C 15 Apr 2023 10:53:50.639 # systemd supervision requested or auto-detected, but Redis is compiled without libsystemd support!
stdout: 82:C 15 Apr 2023 10:53:50.649 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
stdout: 82:C 15 Apr 2023 10:53:50.651 # Redis version=7.0.10, bits=32, commit=00000000, modified=0, pid=82, just started
stdout: 82:C 15 Apr 2023 10:53:50.653 # Configuration loaded
stdout: 82:M 15 Apr 2023 10:53:50.697 # Server initialized
stdout: 82:M 15 Apr 2023 10:53:50.699 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
stdout: fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/armv7/APKINDEX.tar.gz
stdout: fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.ustc.edu.cn/alpine/v3.17/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.ustc.edu.cn/alpine/v3.17/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.nju.edu.cn/alpine/v3.17/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.nju.edu.cn/alpine/v3.17/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.aliyun.com/alpine/v3.17/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.aliyun.com/alpine/v3.17/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirror.lzu.edu.cn/alpine/v3.17/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirror.lzu.edu.cn/alpine/v3.17/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.17/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.17/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.zju.edu.cn/alpine/v3.17/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.zju.edu.cn/alpine/v3.17/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.sjtug.sjtu.edu.cn/alpine/v3.17/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.sjtug.sjtu.edu.cn/alpine/v3.17/community/armv7/APKINDEX.tar.gz
stdout: v3.17.3-94-g62f9529517f [https://dl-cdn.alpinelinux.org/alpine/v3.17/main]
stdout: v3.17.3-97-g0d8fbc8bcc9 [https://dl-cdn.alpinelinux.org/alpine/v3.17/community]
stdout: v3.17.3-94-g62f9529517f [https://mirrors.ustc.edu.cn/alpine/v3.17/main]
stdout: v3.17.3-97-g0d8fbc8bcc9 [https://mirrors.ustc.edu.cn/alpine/v3.17/community]
stdout: v3.17.3-94-g62f9529517f [https://mirrors.nju.edu.cn/alpine/v3.17/main]
stdout: v3.17.3-95-g879355fcb73 [https://mirrors.nju.edu.cn/alpine/v3.17/community]
stdout: v3.17.3-94-g62f9529517f [https://mirrors.aliyun.com/alpine/v3.17/main]
stdout: v3.17.3-95-g879355fcb73 [https://mirrors.aliyun.com/alpine/v3.17/community]
stdout: v3.17.3-26-ge88dd296088 [https://mirror.lzu.edu.cn/alpine/v3.17/main]
stdout: v3.17.3-27-g18b8b70ef8b [https://mirror.lzu.edu.cn/alpine/v3.17/community]
stdout: v3.17.3-94-g62f9529517f [https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.17/main]
stdout: v3.17.3-97-g0d8fbc8bcc9 [https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.17/community]
stdout: v3.17.3-94-g62f9529517f [https://mirrors.zju.edu.cn/alpine/v3.17/main]
stdout: v3.17.3-97-g0d8fbc8bcc9 [https://mirrors.zju.edu.cn/alpine/v3.17/community]
stdout: v3.17.3-94-g62f9529517f [https://mirrors.sjtug.sjtu.edu.cn/alpine/v3.17/main]
stdout: v3.17.3-97-g0d8fbc8bcc9 [https://mirrors.sjtug.sjtu.edu.cn/alpine/v3.17/community]
stdout: OK: 17928 distinct packages available
stdout: OK: 31 MiB in 42 packages
stdout: 2023-04-15 10:59:28 CST
stdout: /etc/unbound/named.cache Same hash, skip update.
stdout: used_memory_human:726.57K
stdout: 2023-04-15 10:59:29 CST
stdout: /data/Country-only-cn-private.mmdb Same hash, skip update.

openwrt系统日志

Sat Apr 15 10:51:11 2023 daemon.err dockerd[4717]: time="2023-04-15T10:51:11.186259527+08:00" level=warning msg="cleaning up after shim disconnected" id=16ba53c48589be8686028ebe5b4bccc55189fa2de99c644512053c7056092de0 namespace=moby
Sat Apr 15 10:51:11 2023 daemon.err dockerd[4717]: time="2023-04-15T10:51:11.255977425+08:00" level=warning msg="cleanup warnings time=\"2023-04-15T10:51:11+08:00\" level=info msg=\"starting signal loop\" namespace=moby pid=6555 runtime=io.containerd.runc.v2\n"
Sat Apr 15 10:51:12 2023 kern.info kernel: [  390.552307] docker0: port 1(vethae91391) entered disabled state
Sat Apr 15 10:51:12 2023 kern.info kernel: [  390.555897] veth9855a14: renamed from eth0
Sat Apr 15 10:51:12 2023 daemon.notice ttyd[6229]: [2023/04/15 10:51:12:9157] N: rops_handle_POLLIN_netlink: DELADDR
Sat Apr 15 10:51:12 2023 kern.info kernel: [  391.409530] docker0: port 1(vethae91391) entered disabled state
Sat Apr 15 10:51:12 2023 kern.info kernel: [  391.424728] device vethae91391 left promiscuous mode
Sat Apr 15 10:51:12 2023 kern.info kernel: [  391.424769] docker0: port 1(vethae91391) entered disabled state
Sat Apr 15 10:51:13 2023 daemon.notice netifd: bridge 'docker0' link is down
Sat Apr 15 10:51:13 2023 daemon.notice netifd: Interface 'docker' has link connectivity loss
Sat Apr 15 10:53:46 2023 kern.info kernel: [  545.317794] docker0: port 1(veth907ece0) entered blocking state
Sat Apr 15 10:53:46 2023 kern.info kernel: [  545.317834] docker0: port 1(veth907ece0) entered disabled state
Sat Apr 15 10:53:46 2023 kern.info kernel: [  545.322893] device veth907ece0 entered promiscuous mode
Sat Apr 15 10:53:48 2023 daemon.err dockerd[4717]: time="2023-04-15T10:53:48.147853147+08:00" level=info msg="loading plugin \"io.containerd.event.v1.publisher\"..." runtime=io.containerd.runc.v2 type=io.containerd.event.v1
Sat Apr 15 10:53:48 2023 daemon.err dockerd[4717]: time="2023-04-15T10:53:48.149183246+08:00" level=info msg="loading plugin \"io.containerd.internal.v1.shutdown\"..." runtime=io.containerd.runc.v2 type=io.containerd.internal.v1
Sat Apr 15 10:53:48 2023 daemon.err dockerd[4717]: time="2023-04-15T10:53:48.149517438+08:00" level=info msg="loading plugin \"io.containerd.ttrpc.v1.task\"..." runtime=io.containerd.runc.v2 type=io.containerd.ttrpc.v1
Sat Apr 15 10:53:48 2023 daemon.err dockerd[4717]: time="2023-04-15T10:53:48.151827736+08:00" level=info msg="starting signal loop" namespace=moby path=/tmp/run/docker/containerd/daemon/io.containerd.runtime.v2.task/moby/44fdeea7249c790fefaf4cb78f4073de3478309f4686567c6f6b9ba35e572867 pid=6987 runtime=io.containerd.runc.v2
Sat Apr 15 10:53:49 2023 kern.info kernel: [  547.669922] eth0: renamed from veth4a9093b
Sat Apr 15 10:53:49 2023 kern.info kernel: [  547.733089] IPv6: ADDRCONF(NETDEV_CHANGE): veth907ece0: link becomes ready
Sat Apr 15 10:53:49 2023 kern.info kernel: [  547.733389] docker0: port 1(veth907ece0) entered blocking state
Sat Apr 15 10:53:49 2023 kern.info kernel: [  547.738967] docker0: port 1(veth907ece0) entered forwarding state
Sat Apr 15 10:53:49 2023 daemon.notice netifd: bridge 'docker0' link is up
Sat Apr 15 10:53:49 2023 daemon.notice netifd: Interface 'docker' has link connectivity
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.139466] unbound invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.139520] CPU: 3 PID: 7137 Comm: unbound Tainted: G         C        5.4.240 #0
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.148017] Hardware name: Generic DT based system
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.155503] [<c030e184>] (unwind_backtrace) from [<c030aac8>] (show_stack+0x10/0x14)
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.160182] [<c030aac8>] (show_stack) from [<c08984e8>] (dump_stack+0x8c/0xa0)
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.168082] [<c08984e8>] (dump_stack) from [<c03eb554>] (dump_header+0x54/0x194)
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.175112] [<c03eb554>] (dump_header) from [<c03ebbdc>] (oom_kill_process+0x190/0x194)
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.182665] [<c03ebbdc>] (oom_kill_process) from [<c03ec588>] (out_of_memory+0x198/0x358)
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.190394] [<c03ec588>] (out_of_memory) from [<c04293e0>] (__alloc_pages_nodemask+0x6ac/0xf48)
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.198727] [<c04293e0>] (__alloc_pages_nodemask) from [<c0410e24>] (wp_page_copy+0x398/0x76c)
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.207232] [<c0410e24>] (wp_page_copy) from [<c0414d1c>] (handle_mm_fault+0x664/0xbc4)
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.215912] [<c0414d1c>] (handle_mm_fault) from [<c030f158>] (do_page_fault+0x114/0x2a4)
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.223811] [<c030f158>] (do_page_fault) from [<c030f49c>] (do_DataAbort+0x3c/0xbc)
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.232142] [<c030f49c>] (do_DataAbort) from [<c0301e3c>] (__dabt_usr+0x3c/0x40)
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.239511] Exception stack(0xdbcb5fb0 to 0xdbcb5ff8)
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.247152] 5fa0:                                     6a62ed90 00000003 6a64120c 00000065
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.252107] 5fc0: 000000e0 007bb898 00010010 00000246 0059a818 6a6fbb10 00546b21 6a6f83e0
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.260266] 5fe0: 0000246c b5ecdbf0 b6edd3a9 b6edd3fc 20000030 ffffffff
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.268527] Mem-Info:
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.274852] active_anon:106789 inactive_anon:52 isolated_anon:0
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.274852]  active_file:136 inactive_file:234 isolated_file:0
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.274852]  unevictable:0 dirty:0 writeback:0 unstable:0
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.274852]  slab_reclaimable:1419 slab_unreclaimable:6743
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.274852]  mapped:37 shmem:210 pagetables:1434 bounce:0
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.274852]  free:4088 free_pcp:0 free_cma:0
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.287228] Node 0 active_anon:427156kB inactive_anon:208kB active_file:116kB inactive_file:56kB unevictable:0kB isolated(anon):0kB isolated(file):12kB mapped:0kB dirty:0kB writeback:0kB shmem:840kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.309635] Normal free:16372kB min:16384kB low:20480kB high:24576kB active_anon:426852kB inactive_anon:208kB active_file:276kB inactive_file:192kB unevictable:0kB writepending:0kB present:522240kB managed:507764kB mlocked:0kB kernel_stack:1872kB pagetables:5736kB bounce:0kB free_pcp:168kB local_pcp:0kB free_cma:0kB
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.337463] lowmem_reserve[]: 0 0 0
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.359668] Normal: 175*4kB (UME) 196*8kB (UE) 106*16kB (UME) 39*32kB (UME) 3*64kB (E) 5*128kB (UE) 4*256kB (UE) 2*512kB (UM) 4*1024kB (UME) 2*2048kB (UM) 0*4096kB = 16284kB
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.362960] 665 total pagecache pages
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.378609] 0 pages in swap cache
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.382216] Swap cache stats: add 0, delete 0, find 0/0
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.385512] Free swap  = 0kB
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.390597] Total swap = 0kB
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.393669] 130560 pages RAM
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.396564] 0 pages HighMem/MovableOnly
Sat Apr 15 10:53:53 2023 kern.warn kernel: [  550.399398] 3619 pages reserved
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.402957] Tasks state (memory values in pages):
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.406118] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.410983] [    274]    81   274      269       21    10240        0             0 ubusd
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.419524] [    301]     0   301      186        6    10240        0             0 askfirst
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.427755] [    302]     0   302      186        6     8192        0             0 askfirst
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.436266] [    450]     0   450      216       13    10240        0             0 urngd
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.444645] [   1154]   514  1154      275       35     8192        0             0 logd
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.452764] [   1206]     0  1206      355       27     8192        0             0 rpcd
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.460912] [   1277]     0  1277   170049     1230    32768        0             0 dnscrypt-proxy
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.468991] [   1606]     0  1606     2826     1700    18432        0             0 smartdns
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.477750] [   1704]     0  1704      602       12     8192        0             0 hostapd
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.486341] [   1705]     0  1705      602       12    10240        0             0 wpa_supplicant
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.494382] [   1747]   101  1747     1227       49    14336        0             0 hostapd
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.503468] [   1748]   101  1748     1227       49    10240        0             0 wpa_supplicant
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.511712] [   1771]     0  1771      403       41    10240        0             0 netifd
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.520733] [   1857]     0  1857      287       10     8192        0             0 crond
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.528987] [   2001]     0  2001     1052       93    14336        0             0 uhttpd
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.537211] [   2235]     0  2235      286        6     8192        0             0 udhcpc
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.545353] [   2767]     0  2767      228       11     8192        0             0 dropbear
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.553648] [   4168]     0  4168   171449     8957    69632        0             0 mosdns
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.562242] [   4264]     0  4264      602       24    10240        0             0 dnsmasq
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.570300] [   4266]   453  4266      327       22    10240        0             0 dnsmasq
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.578539] [   4512]     0  4512     3794      204    16384        0             0 redis-server
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.586868] [   4590]     0  4590      602       24    10240        0             0 ntpd
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.595857] [   4688]   123  4688      286        6     8192        0             0 ntpd
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.603977] [   4717]     0  4717   179673     4116    86016        0             0 dockerd
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.612040] [   5104]     0  5104   177004     2312    59392        0             0 containerd
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.620114] [   6229]     0  6229     1210       69    12288        0             0 ttyd
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.628805] [   6362]     0  6362      233       13    10240        0             0 dropbear
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.637037] [   6397]     0  6397      289       12     8192        0             0 ash
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.645427] [   6965]     0  6965   167586      118    16384        0             0 docker-proxy
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.653189] [   6971]     0  6971   167516      124    14336        0             0 docker-proxy
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.662219] [   6987]     0  6987   169177      213    22528        0             1 containerd-shim
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.670983] [   7007]     0  7007      336       14     8192        0             0 init.sh
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.679748] [   7069]     0  7069      172        8     8192        0             0 crond
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.688088] [   7102]     0  7102   201539     1132    30720        0             0 dnscrypt-proxy
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.696418] [   7103]     0  7103   203216      382    34816        0             0 mosdns
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.705233] [   7120]     0  7120      336        1    10240        0             0 data_update.sh
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.713527] [   7122]     0  7122      333        1    10240        0             0 sleep
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.722457] [   7123]     0  7123      338       12     8192        0             0 watch_list.sh
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.730709] [   7124]     0  7124      338       12     8192        0             0 watch_list.sh
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.739563] [   7125]     0  7125      245        8     8192        0             0 inotifywait
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.748416] [   7126]     0  7126      245        8    10240        0             0 inotifywait
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.756913] [   7128]  1001  7128   313942    46684  1263616        0             0 unbound
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.765562] [   7134]  1001  7134   250980    37344  1009664        0             0 unbound
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.773942] [   7139]     0  7139     7207      364    32768        0             0 redis-server
Sat Apr 15 10:53:53 2023 kern.info kernel: [  550.782267] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=44fdeea7249c790fefaf4cb78f4073de3478309f4686567c6f6b9ba35e572867,mems_allowed=0,global_oom,task_memcg=/docker/44fdeea7249c790fefaf4cb78f4073de3478309f4686567c6f6b9ba35e572867,task=unbound,pid=7128,uid=1001
Sat Apr 15 10:53:53 2023 kern.err kernel: [  550.793490] Out of memory: Killed process 7128 (unbound) total-vm:1255768kB, anon-rss:186736kB, file-rss:0kB, shmem-rss:0kB, UID:1001 pgtables:1234kB oom_score_adj:0
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.531141] containerd invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.531191] CPU: 0 PID: 5191 Comm: containerd Tainted: G         C        5.4.240 #0
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.540039] Hardware name: Generic DT based system
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.547786] [<c030e184>] (unwind_backtrace) from [<c030aac8>] (show_stack+0x10/0x14)
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.552379] [<c030aac8>] (show_stack) from [<c08984e8>] (dump_stack+0x8c/0xa0)
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.560277] [<c08984e8>] (dump_stack) from [<c03eb554>] (dump_header+0x54/0x194)
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.567308] [<c03eb554>] (dump_header) from [<c03ebbdc>] (oom_kill_process+0x190/0x194)
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.574858] [<c03ebbdc>] (oom_kill_process) from [<c03ec588>] (out_of_memory+0x198/0x358)
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.582588] [<c03ec588>] (out_of_memory) from [<c04293e0>] (__alloc_pages_nodemask+0x6ac/0xf48)
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.590918] [<c04293e0>] (__alloc_pages_nodemask) from [<c03e84dc>] (pagecache_get_page+0x170/0x388)
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.599425] [<c03e84dc>] (pagecache_get_page) from [<c03e8da0>] (filemap_fault+0x6ac/0x84c)
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.608799] [<c03e8da0>] (filemap_fault) from [<c04108a0>] (__do_fault+0x38/0x124)
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.616871] [<c04108a0>] (__do_fault) from [<c0414ed4>] (handle_mm_fault+0x81c/0xbc4)
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.624514] [<c0414ed4>] (handle_mm_fault) from [<c030f158>] (do_page_fault+0x114/0x2a4)
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.632412] [<c030f158>] (do_page_fault) from [<c030f558>] (do_PrefetchAbort+0x3c/0x8c)
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.640568] [<c030f558>] (do_PrefetchAbort) from [<c0302108>] (ret_from_exception+0x0/0x18)
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.648288] Exception stack(0xdc073fb0 to 0xdc073ff8)
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.656619] 3fa0:                                     00000000 00000000 00000000 00002710
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.661834] 3fc0: 00000000 00000004 0380e010 000000a2 00000007 00000000 038025a0 00002710
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.669993] 3fe0: 00000000 ae812c70 00626b84 00626ba4 20000010 ffffffff
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.678306] Mem-Info:
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.684583] active_anon:104322 inactive_anon:52 isolated_anon:0
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.684583]  active_file:664 inactive_file:1558 isolated_file:32
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.684583]  unevictable:0 dirty:0 writeback:0 unstable:0
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.684583]  slab_reclaimable:1401 slab_unreclaimable:6764
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.684583]  mapped:22 shmem:210 pagetables:1409 bounce:0
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.684583]  free:4019 free_pcp:0 free_cma:0
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.697292] Node 0 active_anon:417288kB inactive_anon:208kB active_file:2656kB inactive_file:6236kB unevictable:0kB isolated(anon):0kB isolated(file):256kB mapped:88kB dirty:0kB writeback:0kB shmem:840kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.719985] Normal free:16076kB min:16384kB low:20480kB high:24576kB active_anon:417288kB inactive_anon:208kB active_file:1484kB inactive_file:6828kB unevictable:0kB writepending:0kB present:522240kB managed:507764kB mlocked:0kB kernel_stack:2784kB pagetables:5636kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.747847] lowmem_reserve[]: 0 0 0
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.770052] Normal: 311*4kB (UME) 244*8kB (UME) 130*16kB (UME) 48*32kB (UME) 5*64kB (UME) 2*128kB (UE) 2*256kB (ME) 2*512kB (UM) 4*1024kB (UME) 2*2048kB (UM) 0*4096kB = 17116kB
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.773328] 2542 total pagecache pages
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.789312] 0 pages in swap cache
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.792834] Swap cache stats: add 0, delete 0, find 0/0
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.796244] Free swap  = 0kB
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.801255] Total swap = 0kB
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.804377] 130560 pages RAM
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.807308] 0 pages HighMem/MovableOnly
Sat Apr 15 10:53:59 2023 kern.warn kernel: [  554.810115] 3619 pages reserved
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.813665] Tasks state (memory values in pages):
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.816834] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.821704] [    274]    81   274      269       21    10240        0             0 ubusd
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.830219] [    301]     0   301      186        6    10240        0             0 askfirst
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.838461] [    302]     0   302      186        6     8192        0             0 askfirst
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.846966] [    450]     0   450      216       13    10240        0             0 urngd
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.855403] [   1154]   514  1154      275       35     8192        0             0 logd
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.863505] [   1206]     0  1206      355       27     8192        0             0 rpcd
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.871646] [   1277]     0  1277   170049     1230    32768        0             0 dnscrypt-proxy
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.879714] [   1606]     0  1606     2826     1738    18432        0             0 smartdns
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.888449] [   1704]     0  1704      602       12     8192        0             0 hostapd
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.897038] [   1705]     0  1705      602       12    10240        0             0 wpa_supplicant
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.905089] [   1747]   101  1747     1227       51    14336        0             0 hostapd
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.914191] [   1748]   101  1748     1227       52    10240        0             0 wpa_supplicant
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.922440] [   1771]     0  1771      403       40    10240        0             0 netifd
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.931467] [   1857]     0  1857      287       10     8192        0             0 crond
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.939705] [   2001]     0  2001     1052       92    14336        0             0 uhttpd
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.947898] [   2235]     0  2235      286        6     8192        0             0 udhcpc
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.956093] [   2767]     0  2767      228       11     8192        0             0 dropbear
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.964300] [   4168]     0  4168   171449     8957    69632        0             0 mosdns
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.973067] [   4264]     0  4264      602       24    10240        0             0 dnsmasq
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.981016] [   4266]   453  4266      327       22    10240        0             0 dnsmasq
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.989236] [   4512]     0  4512     3794      203    16384        0             0 redis-server
Sat Apr 15 10:53:59 2023 kern.info kernel: [  554.997564] [   4590]     0  4590      602       24    10240        0             0 ntpd
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.006585] [   4688]   123  4688      286        6     8192        0             0 ntpd
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.014639] [   4717]     0  4717   179673     4116    86016        0             0 dockerd
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.022743] [   5104]     0  5104   177004     2312    59392        0             0 containerd
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.030817] [   6229]     0  6229     1210       69    12288        0             0 ttyd
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.039491] [   6362]     0  6362      233       13    10240        0             0 dropbear
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.047738] [   6397]     0  6397      289       12     8192        0             0 ash
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.056151] [   6965]     0  6965   167586      118    16384        0             0 docker-proxy
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.063855] [   6971]     0  6971   167516      124    14336        0             0 docker-proxy
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.072956] [   6987]     0  6987   169177      213    22528        0             1 containerd-shim
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.081686] [   7007]     0  7007      336       13     8192        0             0 init.sh
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.090448] [   7069]     0  7069      172        8     8192        0             0 crond
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.098776] [   7102]     0  7102   201574     1179    30720        0             0 dnscrypt-proxy
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.107111] [   7103]     0  7103   203216      382    34816        0             0 mosdns
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.115939] [   7120]     0  7120      336        1    10240        0             0 data_update.sh
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.124216] [   7122]     0  7122      333        1    10240        0             0 sleep
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.133158] [   7123]     0  7123      338       12     8192        0             0 watch_list.sh
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.141437] [   7124]     0  7124      338       12     8192        0             0 watch_list.sh
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.150292] [   7125]     0  7125      245        8     8192        0             0 inotifywait
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.159141] [   7126]     0  7126      245        8    10240        0             0 inotifywait
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.167649] [   7134]  1001  7134   536666    81640  2152448        0             0 unbound
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.176313] [   7139]     0  7139     7207      363    32768        0             0 redis-server
Sat Apr 15 10:53:59 2023 kern.info kernel: [  555.184661] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/docker/44fdeea7249c790fefaf4cb78f4073de3478309f4686567c6f6b9ba35e572867,task=unbound,pid=7134,uid=1001
Sat Apr 15 10:53:59 2023 kern.err kernel: [  555.193757] Out of memory: Killed process 7134 (unbound) total-vm:2146664kB, anon-rss:326560kB, file-rss:0kB, shmem-rss:0kB, UID:1001 pgtables:2102kB oom_score_adj:0
Sat Apr 15 10:56:10 2023 daemon.err dockerd[4717]: time="2023-04-15T10:56:10.274909939+08:00" level=error msg="Handler for GET /containers/44fdeea7249c790fefaf4cb78f4073de3478309f4686567c6f6b9ba35e572867/top returned error: ps: ps: unrecognized option: a"
Sat Apr 15 11:02:17 2023 daemon.err dockerd[4717]: time="2023-04-15T11:02:17.390542895+08:00" level=error msg="Handler for GET /containers/44fdeea7249c790fefaf4cb78f4073de3478309f4686567c6f6b9ba35e572867/top returned error: ps: ps: unrecognized option: a"

@4thanks
Copy link
Author

4thanks commented Apr 15, 2023

试了进docker手动运行unbound -c /tmp/unbound_forward.conf,也是失败,应该是不满足oubound的最少启动内存。

去docker hub上搜了几个独立的unbound,mvance/unbound也是用不了,启动直接自毙😂!klutchell/unbound这个是可以的。

@kkkgo
Copy link
Owner

kkkgo commented Apr 15, 2023

第一个没有arm版本所以你启动不了。我看看第二个。我觉得有可能是因为编译支持redis的unbound版本会占多点内存。

@4thanks
Copy link
Author

4thanks commented Apr 15, 2023

第一个没有arm版本所以你启动不了。我看看第二个。我觉得有可能是因为编译支持redis的unbound版本会占多点内存。

刚刚测试了这个crazy-max/docker-unbound,支持redis能正常启动运行 CacheDB compile #22,只不过它也是独立的🤷‍♂️。

@kkkgo
Copy link
Owner

kkkgo commented Apr 16, 2023

crazy-max/docker-unbound那个配置的是转发器,不是递归。递归占用更多内存吧。
再试试新镜像?

@4thanks
Copy link
Author

4thanks commented Apr 16, 2023

再试试新镜像?

已经第一时间测试,感觉应该是没问题了,不爆内存也不杀进程,我把日志贴出来你看看。

stdout: New version install ! Try clean...
stdout:               total        used        free      shared  buff/cache   available
stdout: Mem:            496         136          48           1         312         307
stdout: Swap:             0           0           0
stdout:               total        used        free      shared  buff/cache   available
stdout: Mem:         495.9M      135.7M       48.0M      860.0K      312.1M      306.6M
stdout: Swap:             0           0           0
stdout: MEMSIZE:307
stdout: [Warning] LOW MEMORY!
stdout: ====ENV TEST====
stdout: MEM:100k 200k 200 16mb
stdout: CORES:1
stdout: POWCORES:1
stdout: TZ:Asia/Shanghai
stdout: UPDATE:weekly
stdout: DNS_SERVERNAME:PaoPaoDNS,blog.03k.org
stdout: ETHIP:172.17.0.2
stdout: DNSPORT:53
stdout: SOCKS5:no
stdout: CNAUTO:yes
stdout: IPV6:no
stdout: ====ENV TEST====
stdout: PID   USER     TIME  COMMAND
stderr: Setting up watches.
stderr: Setting up watches.
stderr: Watches established.
stderr: Watches established.
stdout:     1 root      0:00 {init.sh} /bin/sh /usr/sbin/init.sh
stdout:    20 root      0:00 crond
stdout:    60 root      0:00 dnscrypt-proxy -config /data/dnscrypt-resolvers/dnscrypt.toml
stdout:    61 root      0:00 mosdns start -d /tmp -c mosdns.yaml
stdout:    79 root      0:00 unbound -c /tmp/unbound_raw.conf -p
stdout:    80 unbound   0:00 unbound -c /tmp/unbound_forward.conf -p
stdout:    82 root      0:00 {data_update.sh} /bin/sh /usr/sbin/data_update.sh
stdout:    84 root      0:00 {watch_list.sh} /bin/sh /usr/sbin/watch_list.sh
stdout:    85 root      0:00 {watch_list.sh} /bin/sh /usr/sbin/watch_list.sh
stdout:    86 root      0:00 ps
stdout:    87 root      0:00 inotifywait -e modify /data/force_cn_list.txt /data/force_nocn_list.txt /data/Country-only-cn-private.mmdb
stdout:    88 root      0:00 inotifywait -e modify /etc/unbound/named.cache
stdout: 89:C 16 Apr 2023 22:43:14.945 # systemd supervision requested or auto-detected, but Redis is compiled without libsystemd support!
stdout: 89:C 16 Apr 2023 22:43:14.946 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
stdout: 89:C 16 Apr 2023 22:43:14.946 # Redis version=7.0.10, bits=32, commit=00000000, modified=0, pid=89, just started
stdout: 89:C 16 Apr 2023 22:43:14.946 # Configuration loaded
stdout: 89:M 16 Apr 2023 22:43:14.960 # Server initialized
stdout: 89:M 16 Apr 2023 22:43:14.961 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
stdout: fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/armv7/APKINDEX.tar.gz
stdout: fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.ustc.edu.cn/alpine/edge/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.ustc.edu.cn/alpine/edge/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.nju.edu.cn/alpine/edge/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.nju.edu.cn/alpine/edge/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.aliyun.com/alpine/edge/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.aliyun.com/alpine/edge/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirror.lzu.edu.cn/alpine/edge/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirror.lzu.edu.cn/alpine/edge/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.tuna.tsinghua.edu.cn/alpine/edge/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.tuna.tsinghua.edu.cn/alpine/edge/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.zju.edu.cn/alpine/edge/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.zju.edu.cn/alpine/edge/community/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.sjtug.sjtu.edu.cn/alpine/edge/main/armv7/APKINDEX.tar.gz
stdout: fetch https://mirrors.sjtug.sjtu.edu.cn/alpine/edge/community/armv7/APKINDEX.tar.gz
stdout: v20230329-1641-g377eea46348 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
stdout: v20230329-1654-gc0d0613f8f8 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
stdout: v20230329-1511-gfe591d8e4e4 [https://mirrors.ustc.edu.cn/alpine/edge/main]
stdout: v20230329-1511-gfe591d8e4e4 [https://mirrors.ustc.edu.cn/alpine/edge/community]
stdout: v20230329-1441-g5fd68fc1457 [https://mirrors.nju.edu.cn/alpine/edge/main]
stdout: v20230329-1450-g0d255d8806c [https://mirrors.nju.edu.cn/alpine/edge/community]
stdout: v20230329-1441-g5fd68fc1457 [https://mirrors.aliyun.com/alpine/edge/main]
stdout: v20230329-1444-g9924ff54c13 [https://mirrors.aliyun.com/alpine/edge/community]
stdout: v20230329-388-g9f2f85e90b7 [https://mirror.lzu.edu.cn/alpine/edge/main]
stdout: v20230329-400-g165e9259c6c [https://mirror.lzu.edu.cn/alpine/edge/community]
stdout: v20230329-1576-gd26575a036a [https://mirrors.tuna.tsinghua.edu.cn/alpine/edge/main]
stdout: v20230329-1585-geb4c59d149c [https://mirrors.tuna.tsinghua.edu.cn/alpine/edge/community]
stdout: v20230329-1633-ge6b6b48e4cd [https://mirrors.zju.edu.cn/alpine/edge/main]
stdout: v20230329-1634-g9a1ff4ffb59 [https://mirrors.zju.edu.cn/alpine/edge/community]
stdout: v20230329-1641-g377eea46348 [https://mirrors.sjtug.sjtu.edu.cn/alpine/edge/main]
stdout: v20230329-1654-gc0d0613f8f8 [https://mirrors.sjtug.sjtu.edu.cn/alpine/edge/community]
stdout: OK: 26529 distinct packages available
stdout: OK: 31 MiB in 42 packages
stdout: 2023-04-16 22:50:28 CST
stdout: /etc/unbound/named.cache Same hash, skip update.
stdout: used_memory_human:760.26K
stdout: 2023-04-16 22:50:30 CST
stdout: /data/Country-only-cn-private.mmdb Same hash, skip update.
root@OpenWrt:~# docker exec -it paopaodns /bin/sh
/ # free -m
              total        used        free      shared  buff/cache   available
Mem:            496         156          38           1         303         287
Swap:             0           0           0
/ # ps -ef
PID   USER     TIME  COMMAND
    1 root      0:00 {init.sh} /bin/sh /usr/sbin/init.sh
   20 root      0:00 crond
   60 root      0:13 dnscrypt-proxy -config /data/dnscrypt-resolvers/dnscrypt.toml
   61 root      0:00 mosdns start -d /tmp -c mosdns.yaml
   80 unbound   0:00 unbound -c /tmp/unbound_forward.conf -p
   82 root      0:00 {data_update.sh} /bin/sh /usr/sbin/data_update.sh
   84 root      0:00 {watch_list.sh} /bin/sh /usr/sbin/watch_list.sh
   85 root      0:00 {watch_list.sh} /bin/sh /usr/sbin/watch_list.sh
   87 root      0:00 inotifywait -e modify /data/force_cn_list.txt /data/force_nocn_list.txt /data/Country-only-cn-private.mmdb
   88 root      0:00 inotifywait -e modify /etc/unbound/named.cache
   89 root      0:03 redis-server 127.0.0.1:6379
   91 unbound   0:00 unbound -c /tmp/unbound_raw.conf -p
  147 root      0:00 {data_update.sh} /bin/sh /usr/sbin/data_update.sh
  148 root      0:00 curl -4 --connect-timeout 10 -s https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country-only-cn-private.mmdb.sha256sum
  149 root      0:00 grep -Eo [0-9A-Za-z]{64}
  150 root      0:00 head -1
  161 root      0:00 /bin/sh
  168 root      0:00 ps -ef
/ # exit
root@OpenWrt:~# dig +short TXT whoami.ds.akahelp.net -p 5443
"ns" "101.87.77.219"

@kkkgo
Copy link
Owner

kkkgo commented Apr 16, 2023

谢谢测试,跑一下debug.sh看看?

@4thanks
Copy link
Author

4thanks commented Apr 16, 2023

/ # debug.sh
====ENV TEST====
MEM:100k 200k 200 16mb
CORES:1
POWCORES:1
TZ:Asia/Shanghai
UPDATE:weekly
DNS_SERVERNAME:PaoPaoDNS,blog.03k.org
ETHIP:172.17.0.2
DNSPORT:53
SOCKS5:no
CNAUTO:yes
IPV6:no
====ENV TEST====
PID   USER     TIME  COMMAND
    1 root      0:00 {init.sh} /bin/sh /usr/sbin/init.sh
   20 root      0:00 crond
   60 root      0:28 dnscrypt-proxy -config /data/dnscrypt-resolvers/dnscrypt.t
   61 root      0:01 mosdns start -d /tmp -c mosdns.yaml
   80 unbound   0:00 unbound -c /tmp/unbound_forward.conf -p
   84 root      0:00 {watch_list.sh} /bin/sh /usr/sbin/watch_list.sh
   85 root      0:00 {watch_list.sh} /bin/sh /usr/sbin/watch_list.sh
   87 root      0:00 inotifywait -e modify /data/force_cn_list.txt /data/force_
   88 root      0:00 inotifywait -e modify /etc/unbound/named.cache
   89 root      0:12 redis-server 127.0.0.1:6379
   91 unbound   0:02 unbound -c /tmp/unbound_raw.conf -p
  197 root      0:00 /bin/sh
  203 root      0:00 {debug.sh} /bin/sh /usr/sbin/debug.sh
  205 root      0:00 ps -ef
domain:whoami.ds.akahelp.net
CNIP URL test:
101.87.77.219
101.87.77.219
------------------
NOCN IP URL test:
101.87.77.219
101.87.77.219
101.87.77.219
101.87.77.219
101.87.77.219
------------------
IP INFO:
101.87.77.219
CN,Shanghai,Shanghai
ASN4812/China Telecom
HTTP/1.1
curl/8.0.1
------------------
The DNS hijacking test, you will see timed out message.
;; communications error to 6.7.8.9#53: timed out
;; communications error to 6.7.8.9#53: timed out
;; communications error to 6.7.8.9#53: timed out
;; no servers could be reached


----------whoami test----------
------------------
mosdns whoami dig:
"ns" "101.87.77.219"
------------------
local unbound whoami dig:
"ns" "101.87.77.219"
------------------
dnscrypt raw whoami dig:
"ns" "158.247.201.172"
------------------
dnscrypt with socks5 whoami dig:
;; communications error to 127.0.0.1#5303: connection refused
;; communications error to 127.0.0.1#5303: connection refused
;; communications error to 127.0.0.1#5303: connection refused
;; no servers could be reached

------------------
dnscrypt unbound whoami dig:
"ns" "158.247.201.172"
------------------
----------CN test----------
mosdns CN dig:
www.taobao.com.danuoyi.tbcache.com.
106.227.21.184
106.227.21.185
------------------
local unbound CN dig:
www.taobao.com.danuoyi.tbcache.com.
106.227.21.185
106.227.21.184
------------------
dnscrypt raw CN dig:
www.taobao.com.danuoyi.tbcache.com.
163.181.22.233
163.181.22.234
------------------
dnscrypt with socks5 CN dig:
;; communications error to 127.0.0.1#5303: connection refused
;; communications error to 127.0.0.1#5303: connection refused
;; communications error to 127.0.0.1#5303: connection refused
;; no servers could be reached

------------------
dnscrypt unbound CN dig:
www.taobao.com.danuoyi.tbcache.com.
128.1.157.232
128.1.157.233
------------------
----------NOCN test----------
mosdns NOCN dig:
youtube-ui.l.google.com.
142.251.42.174
142.251.42.206
142.251.222.46
172.217.26.238
172.217.31.142
142.250.198.14
142.250.199.110
172.217.174.110
172.217.161.46
172.217.175.238
142.250.207.14
216.58.220.110
172.217.175.46
142.250.196.142
142.250.207.46
142.250.196.110
------------------
local unbound NOCN dig:
31.13.80.169
------------------
dnscrypt raw NOCN dig:
youtube-ui.l.google.com.
142.251.42.174
142.251.42.206
142.251.222.46
172.217.26.238
172.217.31.142
142.250.198.14
142.250.199.110
172.217.174.110
172.217.161.46
172.217.175.238
142.250.207.14
216.58.220.110
172.217.175.46
142.250.196.142
142.250.207.46
142.250.196.110
------------------
dnscrypt with socks5 NOCN dig:
;; communications error to 127.0.0.1#5303: connection refused
;; communications error to 127.0.0.1#5303: connection refused
;; communications error to 127.0.0.1#5303: connection refused
;; no servers could be reached

------------------
dnscrypt unbound NOCN dig:
youtube-ui.l.google.com.
172.217.174.110
172.217.161.46
172.217.175.238
142.250.207.14
216.58.220.110
172.217.175.46
142.250.196.142
142.250.207.46
142.250.196.110
142.251.42.174
142.251.42.206
142.251.222.46
172.217.26.238
172.217.31.142
142.250.198.14
142.250.199.110
------------------
----------IPV6 test----------
dual CN domain IPV6:
dual NOCN domain IPV6:
IPV6 only domain :

@kkkgo
Copy link
Owner

kkkgo commented Apr 16, 2023

很好,看起来一切工作正常。谢谢你的热心测试!😊

@kkkgo kkkgo closed this as completed Apr 16, 2023
@ldy8182
Copy link

ldy8182 commented Apr 18, 2023

512M内存都能跑起来?长时间运行内存会不会不足?

@kkkgo
Copy link
Owner

kkkgo commented Apr 18, 2023

512M内存都能跑起来?长时间运行内存会不会不足?

容器启动时根据可用内存自动调整参数。占用内存不会超过上限。当然这意味着缓存大小也被限制了。

@4thanks
Copy link
Author

4thanks commented Apr 18, 2023

512M内存都能跑起来?长时间运行内存会不会不足?

不用怀疑,日常就占12%,比单用adguardhome省多了。

容器启动时根据可用内存自动调整参数。占用内存不会超过上限。当然这意味着缓存大小也被限制了。

家用也用不了多少缓存大小吧😂

@ldy8182
Copy link

ldy8182 commented Apr 18, 2023

那等我rb5009来了我试试,谢谢~~

Repository owner locked and limited conversation to collaborators Apr 28, 2023
@kkkgo kkkgo converted this issue into discussion #14 Apr 28, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants