Woke up to find no LAN devices could access the Internet. Eventually figured out the router wasn't handing out DHCP any longer. Found the following in the router logs
What was using all of the space? dnsmasq log files.
Disabled logging in diversion, deleted the dnsmasq log files and all back to normal now.
I never had this problem when using AB-Solution. Why isnt the log rolling properly working?
Code:
Oct 30 06:42:12 dnsmasq[24902]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 60s)
Oct 30 06:42:12 dnsmasq[24902]: DHCPREQUEST(br0) 192.168.1.65 9c:eb:e8:24:f8:8a
Oct 30 06:42:12 dnsmasq[24902]: failed to allocate 124 bytes
What was using all of the space? dnsmasq log files.
Code:
Filesystem Size Used Available Use% Mounted on
/dev/root 36.1M 36.1M 0 100% /
devtmpfs 124.8M 0 124.8M 0% /dev
tmpfs 124.9M 6.3M 118.5M 5% /tmp
/dev/mtdblock4 62.8M 8.7M 54.0M 14% /jffs
/dev/sda1 462.0M 437.4M 1.0K 100% /tmp/mnt/AB
admin@RT-AC87U:/tmp/mnt/AB/entware/var/log# ll -h
-rw-r----- 1 nobody root 154.0K Oct 30 06:45 dnsmasq.log
-rw-r----- 1 nobody root 383.8M Oct 30 05:21 dnsmasq.log1
-rw-r----- 1 nobody root 0 Oct 30 02:01 dnsmasq.log2
Disabled logging in diversion, deleted the dnsmasq log files and all back to normal now.
I never had this problem when using AB-Solution. Why isnt the log rolling properly working?