Hi,
on my Luci interface and top interface, I have a process (AdGuard) with an usage of 548%... But my Routeur (Xiaomi Redmi AC2100) is OK. Where is the true ?
Hi,
on my Luci interface and top interface, I have a process (AdGuard) with an usage of 548%... But my Routeur (Xiaomi Redmi AC2100) is OK. Where is the true ?
How many domains are being blocked?
???
The value comes from "top" command in busybox.
/bin/busybox top -bn1
You might run it and compare the output to LuCI.
It may be parsing error.
root@router1:~# /bin/busybox top -bn1
Mem: 155368K used, 320492K free, 1256K shrd, 6820K buff, 24092K cached
CPU: 0% usr 0% sys 0% nic 100% idle 0% io 0% irq 0% sirq
Load average: 0.00 0.00 0.00 2/93 12267
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
12266 12253 root R 1112 0% 0% {top} /bin/busybox top -bn1
9695 1 root SN 5040 1% 0% /usr/sbin/collectd -C /tmp/collectd.conf -f
1350 1 root S 4496 1% 0% /usr/sbin/hostapd -s -g /var/run/hostapd/global
1351 1 root S 4380 1% 0% /usr/sbin/wpa_supplicant -n -s -g /var/run/wpa_supplicant/global
3298 1 root S 4304 1% 0% /usr/sbin/uhttpd -f -h /www -r router1 -x /cgi-bin -u /ubus -t 60 -T 30 -k 20 -A 1 -n 3 -N 100 -R -p 0.0.0.0:80 -p [::]:80 -C /etc/uhttpd.crt -K /etc/uhttpd.key -s 0.0.0.0:443 -s [::]:443 -q
1041 1 root S 2000 0% 0% /sbin/rpcd -s /var/run/ubus/ubus.sock -t 30
1456 1 root S 1572 0% 0% /sbin/netifd
3375 1 root SN 1396 0% 0% /usr/sbin/nlbwmon ...
The code in LuCI is starting from here, and the parsing/matching string is a few lines below.
This is result of top:
/bin/busybox top -bn1
Mem: 101688K used, 22084K free, 12260K shrd, 1476K buff, 23592K cached
CPU: 0% usr 0% sys 0% nic 100% idle 0% io 0% irq 0% sirq
Load average: 0.13 0.28 0.26 2/95 1026
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
1000 1 root S 663m 548% 0% /usr/bin/AdGuardHome -c /etc/adguardhome.yaml -w /tmp/adguardhome --no-check-update
...
I have free memory... But 548% from AdGuard...
free
total used free shared buff/cache available
Mem: 123772 76580 21672 12660 25520 11280
Swap: 0 0 0
ps w | grep Ad
1000 root 663m S /usr/bin/AdGuardHome -c /etc/adguardhome.yaml -w /tmp/adguardhome --no-check-update
On this screen, you can see impact of AdGuard... But I have free memory...
VSZ is Virtual memory size. It means AdGuard has reserved 663MB of address space, but the most of it is not committed, and so no backing memory or swap is needed.
Thx. I look how reduce this reservation.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.