What's new

CakeQOS Cake Stops for No Apparent Reason

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

TonyK132

Senior Member
Any ideas about why cake suddenly stops for no apparent reason? Sometimes it restarts again maybe 1 min later on its own, but sometimes not. When I check it around 7am first thing in the morning I see that it is stopped. I have had cake enabled for a while, but just recently added the CakeQOS-Merlin script. Going to that screen tells me that cake is not running. If I run cake-qos from the terminal, and do a Download stats, I will see that it is running, but if I do the Upload stats, then attempt to get the Download stats again, it tells me that cake is not running. I rebooted 2 days ago but cannot tell if this behavior only started since that time or it is was doing this before. I also do not know if it was doing this before I installed the CakeQOS-Merlin script.

Before I did a manual Apply from the CakeQOS-Merlin screen, and saw that cake was not running, here is what was in my log file:


Apr 12 07:09:24 RT-AC86U-1BD0 kernel: [tdts_shell_ioctl_stat:256] Recv ioctl req with op 2
Apr 12 07:09:27 RT-AC86U-1BD0 rc_service: httpds 30772:notify_rc start_cake-qosstatsupdate
Apr 12 07:09:27 RT-AC86U-1BD0 custom_script: Running /jffs/scripts/service-event (args: start cake-qosstatsupdate)
Apr 12 07:09:27 RT-AC86U-1BD0 custom_script: Running /jffs/scripts/service-event-end (args: start cake-qosstatsupdate)
Apr 12 07:09:56 RT-AC86U-1BD0 rc_service: httpds 30772:notify_rc start_cake-qosstatsupdate
Apr 12 07:09:56 RT-AC86U-1BD0 custom_script: Running /jffs/scripts/service-event (args: start cake-qosstatsupdate)
Apr 12 07:09:56 RT-AC86U-1BD0 custom_script: Running /jffs/scripts/service-event-end (args: start cake-qosstatsupdate)
Apr 12 07:10:10 RT-AC86U-1BD0 rc_service: httpds 30772:notify_rc restart_qos;restart_firewall
Apr 12 07:10:10 RT-AC86U-1BD0 custom_script: Running /jffs/scripts/service-event (args: restart qos)
Apr 12 07:10:10 RT-AC86U-1BD0 CakeQOS-Merlin: Configuring Cake options...
Apr 12 07:10:13 RT-AC86U-1BD0 BWDPI: fun bitmap = 47f
Apr 12 07:10:13 RT-AC86U-1BD0 custom_config: Appending content of /jffs/configs/cake-qos.conf.add.
Apr 12 07:10:13 RT-AC86U-1BD0 custom_script: Running /jffs/scripts/service-event-end (args: restart qos)
Apr 12 07:10:13 RT-AC86U-1BD0 custom_script: Running /jffs/scripts/service-event (args: restart firewall)
Apr 12 07:10:14 RT-AC86U-1BD0 custom_script: Found nat-start, but script is not set executable!
Apr 12 07:10:14 RT-AC86U-1BD0 custom_script: Running /jffs/scripts/firewall-start (args: eth0)
Apr 12 07:10:14 RT-AC86U-1BD0 custom_script: Running /jffs/scripts/service-event-end (args: restart firewall)
Apr 12 07:10:28 RT-AC86U-1BD0 rc_service: httpds 30772:notify_rc start_cake-qosstatsupdate
Apr 12 07:10:28 RT-AC86U-1BD0 custom_script: Running /jffs/scripts/service-event (args: start cake-qosstatsupdate)
Apr 12 07:10:28 RT-AC86U-1BD0 custom_script: Running /jffs/scripts/service-event-end (args: start cake-qosstatsupdate)
Apr 12 07:10:38 RT-AC86U-1BD0 rc_service: service 1737:notify_rc restart_dnsmasq
Apr 12 07:10:38 RT-AC86U-1BD0 custom_script: Running /jffs/scripts/service-event (args: restart dnsmasq)
Apr 12 07:10:39 RT-AC86U-1BD0 dnsmasq[31522]: exiting on receipt of SIGTERM
Apr 12 07:10:39 RT-AC86U-1BD0 custom_config: Appending content of /jffs/configs/dnsmasq.conf.add.
Apr 12 07:10:39 RT-AC86U-1BD0 custom_script: Running /jffs/scripts/dnsmasq.postconf (args: /etc/dnsmasq.conf)
Apr 12 07:10:39 RT-AC86U-1BD0 (dnsmasq.postconf): Updating /etc/dnsmasq.conf for unbound.....
Apr 12 07:10:39 RT-AC86U-1BD0 stubby[1895]: Stubby version: Stubby 0.4.0
Apr 12 07:10:39 RT-AC86U-1BD0 stubby[1895]: Read config from file /etc/stubby/stubby.yml
Apr 12 07:10:39 RT-AC86U-1BD0 dnsmasq[1899]: started, version 2.85 cache disabled
Apr 12 07:10:39 RT-AC86U-1BD0 dnsmasq[1899]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-UBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-auth cryptohash DNSSEC no-ID loop-detect no-inotify no-dumpfile
Apr 12 07:10:39 RT-AC86U-1BD0 dnsmasq[1899]: warning: interface br1 does not currently exist
Apr 12 07:10:39 RT-AC86U-1BD0 dnsmasq[1899]: warning: interface pptp* does not currently exist
Apr 12 07:10:39 RT-AC86U-1BD0 dnsmasq[1899]: asynchronous logging enabled, queue limit is 5 messages
Apr 12 07:10:39 RT-AC86U-1BD0 dnsmasq-dhcp[1899]: DHCP, IP range 192.168.102.2 -- 192.168.102.254, lease time 1d
Apr 12 07:10:39 RT-AC86U-1BD0 dnsmasq-dhcp[1899]: DHCP, IP range 192.168.101.2 -- 192.168.101.254, lease time 1d
Apr 12 07:10:39 RT-AC86U-1BD0 dnsmasq-dhcp[1899]: DHCP, IP range 192.168.2.128 -- 192.168.2.191, lease time 1h
Apr 12 07:10:39 RT-AC86U-1BD0 dnsmasq[1899]: using nameserver 127.0.0.1#53535
Apr 12 07:10:39 RT-AC86U-1BD0 dnsmasq[1899]: using only locally-known addresses for domain CAPELLA
Apr 12 07:10:39 RT-AC86U-1BD0 dnsmasq[1899]: read /etc/hosts - 7 addresses
Apr 12 07:10:39 RT-AC86U-1BD0 dnsmasq[1899]: read /jffs/addons/YazDHCP.d/.hostnames - 10 addresses
Apr 12 07:10:39 RT-AC86U-1BD0 dnsmasq-dhcp[1899]: read /jffs/addons/YazDHCP.d/.staticlist
Apr 12 07:10:39 RT-AC86U-1BD0 dnsmasq-dhcp[1899]: read /jffs/addons/YazDHCP.d/.optionslist
Apr 12 07:10:39 RT-AC86U-1BD0 custom_script: Running /jffs/scripts/service-event-end (args: restart dnsmasq)


It looks to me like there are back-to-back qosstatusupdates going on. I have no idea if that is expected but it seems odd.

Any insights into what's going on, and what I need to do to fix it? Is it time for me to bite the bullet and do a nuclear reset and update to 10_0 and reinstall every thing?


Update: I just looked at CakeQOS (about 6 hrs later than my initial post), and it said cake was not running. I have no idea how long its been in that state. I kick-started it and now its going. Maybe I'll try to do a script to periodically check if cake is running, and to restart it if it's not.
 
Last edited:
admin@RT-AC86U-1BD0:/tmp/home/root# tc qdisc
qdisc pfifo_fast 0: dev eth0 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth1 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth2 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth3 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth4 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev spu_us_dummy root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev spu_ds_dummy root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth5 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth6 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev wl0.1 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev wl0.2 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev wl1.1 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev tun15 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev tun14 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1


But if I hit Refresh-Status in the GUI, and the status then displays the Cake info, then I get this in the CLI:

admin@RT-AC86U-1BD0:/tmp/home/root# tc qdisc
qdisc cake 92cf: dev eth0 root refcnt 2 bandwidth 5017Kbit diffserv3 dual-srchost nat nowash no-ack-filter split-gso rtt 100ms noatm overhead 0
qdisc ingress ffff: dev eth0 parent ffff:fff1 ----------------
qdisc pfifo_fast 0: dev eth1 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth2 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth3 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth4 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev spu_us_dummy root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev spu_ds_dummy root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth5 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth6 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev wl0.1 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev wl0.2 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev wl1.1 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev tun15 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev tun14 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc cake 92d0: dev ifb4eth0 root refcnt 2 bandwidth 209920Kbit diffserv3 dual-dsthost nat wash ingress no-ack-filter split-gso rtt 100ms noatm overhead 0


Anyone have any idea about what's going on here?
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top