core: continues login crashes AsusWRT

The problem

I tried the AsusWRT integration but it always crashes my Asus Router and I have to restart it after about half a day. Im not 100% sure what but some request seems to eat up all space on /var after a while - not sure what or why tho.

Asus: RT-AX58U 512MB Firmaware: [386.7]

Filesystem 1K-blocks Used Available Use% Mounted on /dev/root 53376 53376 0 100% / devtmpfs 255996 0 255996 0% /dev tmpfs 256100 684 255416 0% /var tmpfs 256100 1808 254292 1% /tmp/mnt ubi1:data 4584 80 4232 2% /data tmpfs 256100 1808 254292 1% /tmp/mnt tmpfs 256100 1808 254292 1% /tmp /dev/mtdblock9 48128 6856 41272 14% /jffs

What version of Home Assistant Core has the issue?

2022.6.7

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

ASUSWRT

Link to integration documentation on our website

https://www.home-assistant.io/integrations/asuswrt/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

error message on Router:
Jul  1 05:29:19 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 8 s)
Jul  1 05:29:26 check_watchdog: [check_watchdog] restart watchdog for no heartbeat
Jul  1 05:29:26 rc_service: check_watchdog 1783:notify_rc restart_watchdog
Jul  1 05:29:27 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 9 s)
Jul  1 05:29:36 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 8 s)
Jul  1 05:29:44 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 7 s)
Jul  1 05:29:51 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 8 s)
Jul  1 05:29:59 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 9 s)
Jul  1 05:30:00 out of memory [6217]
Jul  1 05:30:08 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 7 s)
Jul  1 05:30:15 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 9 s)
Jul  1 05:30:24 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 7 s)
Jul  1 05:30:26 check_watchdog: [check_watchdog] restart watchdog for no heartbeat
Jul  1 05:30:26 rc_service: check_watchdog 1783:notify_rc restart_watchdog
Jul  1 05:30:31 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 9 s)
Jul  1 05:30:40 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 8 s)
Jul  1 05:30:48 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 9 s)
Jul  1 05:30:57 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 8 s)
Jul  1 05:31:05 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 7 s)
Jul  1 05:31:12 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 7 s)
Jul  1 05:31:19 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 8 s)
Jul  1 05:31:26 check_watchdog: [check_watchdog] restart watchdog for no heartbeat
Jul  1 05:31:26 rc_service: check_watchdog 1783:notify_rc restart_watchdog
Jul  1 05:31:27 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 7 s)
Jul  1 05:31:34 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 8 s)
Jul  1 05:31:42 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 9 s)
Jul  1 05:31:51 dnsmasq-dhcp[19431]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 9 s)

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 24 (8 by maintainers)

Most upvoted comments

in lay terms, what is different in this one that is still sitting in PR? Because I don’t know if this is a factor, but with my older router, that had http access for the webui, whereas on my new one it defaults to https (and I’ve left it that way). However that shouldn’t matter because the integration works over ssh I believe?

The custom integration as the one in the PR use http / https protocol, using http API introduced in new firmware versions. But it use both http and https, so how is configured he router does not matter. The advantage of new API is that they provide more sensors and controls on the router, is same API used by Asus App for phone device. I created the custom integration just because PR is taking a very long time, so I want to start sharing new feature (also for testing) through custom integration.