AR150 - reboots due to high load

Hello Support,

My AR150 reboots on high load,

Model - GL.iNet GL-AR150
Architecture -Atheros AR9330 rev 1
Firmware Version - OpenWrt 18.06.1 r7258-5eb055306f / LuCI openwrt-18.06 branch (git-18.196.56128-9112198)
Kernel Version -4.9.120
CPU usage

Any way to trace for the cause ?

install rsyslog opkg update && opkg install rsyslog set it to log to papertrail.com (free account) then you will get log messages before it reboots.

maybe it is running out of memory from some app you have loaded and it resets. hard to tell without logs though.

Memory usage

Is this your own firmware or GL stock firmware?
Are you running something?

This GL firmware…

output of top command

Mem: 46408K used, 13504K free, 2080K shrd, 3100K buff, 10760K cached
CPU:  74% usr  25% sys   0% nic   0% idle   0% io   0% irq   0% sirq
Load average: 6.13 5.52 3.21 3/101 29504
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
 2109     1 dnsmasq  R     7868  13%  29% /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq/dnsmasq.cfg01411c.pid
 1749  1748 root     S     4044   7%   2% /www/api
    4     2 root     SW       0   0%   2% [kworker/0:0]
 1032     1 root     S     1640   3%   2% /sbin/rpcd
  546     1 root     S     1284   2%   1% /sbin/ubusd
 1748     1 root     S     4372   7%   1% /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
28699 12853 root     R     1288   2%   1% top
  120     2 root     SW       0   0%   1% [kswapd0]
 2655     1 root     S     2064   3%   0% /usr/sbin/hostapd -s -P /var/run/wifi-phy0.pid -B /var/run/hostapd-phy0.conf
 1836     1 root     S     1360   2%   0% /usr/sbin/nlbwmon -o /var/lib/nlbwmon -i 24h -r 30s -p /usr/share/nlbwmon/protocols -G 10 -I 1 -L 10000 -Z -s 192.168.
12384  1718 root     S     1196   2%   0% /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300 -T 3
    3     2 root     SW       0   0%   0% [ksoftirqd/0]
 1503     1 root     S     3280   5%   0% /usr/sbin/rsyslogd -n
 5145     1 root     SN    2068   3%   0% /bin/sh /opt/YAMon3/yamon3.4.5.sh
 1473     1 root     S     1784   3%   0% /sbin/netifd
    1     0 root     S     1620   3%   0% /sbin/procd
 7973     1 root     S     1364   2%   0% /bin/sh /usr/sbin/mwan3track wan eth0 online 122.165.176.246 8.8.4.4 8.8.8.8 208.67.222.222 208.67.220.220
  407     2 root     SW       0   0%   0% [usb-storage]
25703     2 root     SW       0   0%   0% [kworker/u2:2]
 2332     1 root     S     7432  12%   0% /usr/sbin/collectd -f
 3502     1 root     S     6396  11%   0% /usr/bin/gl_udp_server
 3485     1 root     S     5952  10%   0% /usr/bin/gl_mqtt_cli
 3247     1 nobody   S     3588   6%   0% /usr/sbin/openvpn --config /etc/openvpn/ovpn/server.ovpn --daemon --writepid /var/run/ovpn_server.pid
29437 29436 root     S     3560   6%   0% wget -t 2 -T 6 --user-agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (
 1964     1 root     S     2524   4%   0% /usr/sbin/nmbd -F
 1965     1 root     S     2468   4%   0% /usr/sbin/smbd -F

Load average is getting high…

And my syslog lists below log frequently…

Oct 24 02:01:02 Riddhu gl_mqtt_cli: Receive message failed(0)
Oct 24 02:01:12 Riddhu gl_mqtt_cli: Receive message failed(0)
Oct 24 02:01:12 Riddhu gl_mqtt_cli: Receive message failed(-3)
Oct 24 02:01:14 Riddhu gl_mqtt_cli: **************************count :1********************
Oct 24 02:01:19 Riddhu gl_mqtt_cli: *********url=https://gslb.goodcloud.xyz/gslb/getbucket?

Why gl_mqtt_cli trying to connect outside work ?

Seem you flash the firmware with cloud platform. You should flash this one.

Seems you installed/running too many programs.

1836 1 root S 1360 2% 0% /usr/sbin/nlbwmon -o /var/lib/nlbwmon -i 24h -r 30s -p /usr/share/nlbwmon/protocols -G 10 -I 1 -L 10000 -Z -s 192.168.
5145 1 root SN 2068 3% 0% /bin/sh /opt/YAMon3/yamon3.4.5.sh
3247 1 nobody S 3588 6% 0% /usr/sbin/openvpn --config /etc/openvpn/ovpn/server.ovpn --daemon --writepid /var/run/ovpn_server.pid
1503 1 root S 3280 5% 0% /usr/sbin/rsyslogd -n

@kyson-lok Thank you…
Flashing it now!!!

@alzhao
testing few openwrt plugins… but I ensure cpu load is minimum while running them…
Do we have plan for implementing banandwidth monitoring… ?

Available from firmware v3.005.

I m looking at new UI, but could you let me know, where to look up for historical usage, does it per provide stats per day ?

It only shows real-time speed and total amount of data transferred.

It doesn’t keep records as to time slot.