Slow, processes in D state

Hey, looks like something wrong with router, everything super slow, many processes in D state

Mem: 215904K used, 32712K free, 644K shrd, 1596K buff, 4448K cached
CPU:   0% usr  24% sys   0% nic   0% idle  70% io   0% irq   4% sirq
Load average: 33.69 16.97 8.42 2/384 7901
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
12037     1 root     S     794m 326%   5% /usr/sbin/tailscaled --port 41641 --state /etc/tailscale/tailscaled.state
32435     1 root     S     807m 331%   2% /usr/bin/AdGuardHome --glinet --no-check-update -c /etc/AdGuardHome/config.yaml -w /etc/AdGuardHome -l syslog
 2680     1 root     D     4920   2%   2% /usr/sbin/hostapd -s -g /var/run/hostapd/global
   70     2 root     SW       0   0%   1% [kswapd0]
   73     2 root     RW       0   0%   1% [spi0]
 7838  5046 root     D      912   0%   1% uci -q get mwan3.@interface[0].family
 5055     1 dnsmasq  D     2648   1%   1% /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq/dnsmasq.cfg01411c.pid
 2828  2416 root     S      888   0%   1% /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300 -T 3
 3499     1 nobody   D     1764   1%   1% avahi-daemon: running [JonSnow.local]
    1     0 root     D     1416   1%   1% /sbin/procd
 7886  7737 root     D      780   0%   1% i2cset -f -y 0 0x30 0x07 0x7f
 7407     1 root     D<    1112   0%   0% /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 0.openwrt.pool.ntp.org -p 1.openwrt.pool.ntp.org -p 2.openwrt.pool.ntp.org -p 3.openwrt.pool.ntp.org
 7756     1 root     S     1108   0%   0% lock /var/run/mwan3.lock
 1785     1 root     D     3696   1%   0% {gl-ngx-session} /usr/bin/lua /usr/sbin/gl-ngx-session
10073     1 root     S     4004   2%   0% /usr/sbin/usbmuxd --systemd
 7873     2 root     DW       0   0%   0% [kworker/1:40+ub]
30486     2 root     IW       0   0%   0% [kworker/2:9-eve]
 6723  2829 root     R     1144   0%   0% top
 7812     2 root     DW       0   0%   0% [kworker/2:38+ub]
 7714     2 root     DW       0   0%   0% [kworker/3:49+ub]
 7875     2 root     IW       0   0%   0% [kworker/1:42-ub]
 7824     2 root     IW       0   0%   0% [kworker/2:50-ev]
 7808     2 root     IW       0   0%   0% [kworker/2:34-mm]
 7893 11445 root     D     1000   0%   0% sleep 5
 7809     2 root     DW       0   0%   0% [kworker/2:35+ub]
 2751     1 root     D     1600   1%   0% /sbin/netifd
23820     2 root     IW       0   0%   0% [kworker/2:6-eve]
   32     2 root     SW       0   0%   0% [kcompactd0]
 7712     2 root     DW       0   0%   0% [kworker/3:47+ub]
 7087     2 root     DW       0   0%   0% [kworker/3:10+ub]
 7734     1 root     D     8812   4%   0% {gl_clients_upda} /usr/bin/lua /usr/bin/gl_clients_update
   20     2 root     SW       0   0%   0% [ksoftirqd/2]
 6899     2 root     DW       0   0%   0% [kworker/3:4+ubi]
 6575     2 root     IW       0   0%   0% [kworker/0:19-ub]
 7876     2 root     IW       0   0%   0% [kworker/1:43-ub]
 3179     1 root     D     1112   0%   0% /usr/sbin/crond -f -c /tmp/gl_crontabs -l 5
28865     2 root     IW       0   0%   0% [kworker/0:5-eve]
29055     2 root     IW       0   0%   0% [kworker/0:7-eve]
32041     2 root     IW       0   0%   0% [kworker/1:32-ub]
 7723     2 root     DW       0   0%   0% [kworker/3:58+ub]
 6572     2 root     IW       0   0%   0% [kworker/0:16-ev]
 6577     2 root     IW       0   0%   0% [kworker/0:21-mm]
 7720     2 root     DW       0   0%   0% [kworker/3:55+ub]
 7459  3179 root     S     1220   0%   0% /bin/ash -c sleep 30;. /lib/functions/modem.sh;check_ip
32040     2 root     IW       0   0%   0% [kworker/1:31-ub]
 6571     2 root     RW       0   0%   0% [kworker/0:15+ub]
 7874     2 root     IW       0   0%   0% [kworker/1:41-ub]
 7872     2 root     DW       0   0%   0% [kworker/1:39+ub]
  529     1 root     S      812   0%   0% /sbin/urngd
   15     2 root     SW       0   0%   0% [ksoftirqd/1]
 6574     2 root     IW       0   0%   0% [kworker/0:18-ev]
 7710     2 root     DW       0   0%   0% [kworker/3:45+ub]
 2889     1 root     D     1248   0%   0% /usr/sbin/odhcpd

Can you please help to understand what is going on?

  • firmware v4.4.5
  • GL.iNet GL-A1300
  • Openwrt Version OpenWrt 21.02.2 r16495-bf0c965af0
  • Kernel Version 5.4.179

Do you turn on too much Filters for Adguardhome? That will consume a lot of memory, and finally cause slow response.
Except for Adguardhome and Tailscale, what other functions do you enable?

No, standard list of filters
disabled adguardHome, everything ok now
looks like GL-A1300 is not capable run adguardHome and something else (in my case tailscale)

2 Likes

It’s weird that 70% io reached.
Do you have a USB drive or UART serial cable connected? How long will it take for problems to occur?

No, I have no USB and no UART.