Closed magic7s closed 1 year ago
I was using the 64 bit HAOS and switched to 32 bit and it is much snappier and lower memory utilization.
I also have the feeling that memory consumption of Home Assistant has become too high to properly run on a Raspberry PI 3+ Rev. B. It is really pushing between 80%-90% now. And I already had to stop almost all addons, besides the ones that I really depend on (MQTT, Zigbee2Mqtt, SSH and SAMBA). But as soon as the systeem needs to do some "extra work" it will become unresponsive until it automatically will restart because Watchdog interfenes with a kill process.
There are clearly performance optimizations needed to properly run on this device or make a clear statement that these devices are no longer supported.
I am using the 3B+ 64-bit with: Sensors: 122 Lights: 26 - mostly zigbee Switches: 18 Binary sensors: 33 Automations: 51 and a few add-ons I have quite high memory use:
After reading about 32-bit vs. 64-bit on Raspberry Pi 3+. I moved back to 32-bit. That uses approx. 20% less memory and runs smooth.
There hasn't been any activity on this issue recently. To keep our backlog manageable we have to clean old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant OS version and check if that solves the issue. Let us know if that works for you by adding a comment š This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
I have the same challenge in a rather tiny setup. Glad that I found this issue so I know that it's not just me, but there seems to be a general problem. Unfortunately, the 32bit version of HAOS doesn't support some important add-ons like the unifi console or the visual studio code server.
It would be great to read some advice on usage of 32 vs. 64 bit in the official installation documentation.
There hasn't been any activity on this issue recently. To keep our backlog manageable we have to clean old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant OS version and check if that solves the issue. Let us know if that works for you by adding a comment š This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The swap file needs to be increased for the RPI3 64Bit image, the default ~300mb is nowhere near enough to account for the increase in RAM/SWAP usage from 32 -> 64, I've had to increase it to 2G using Debugging SSH 22222 which solves all crashing issues. The stock RPI3 B+ does not have enough ram and causes crashes with more than a few addons, or addons which use a lot of memory like ESPHome.
Describe the issue you are experiencing
Memory is bouncing off 100%, normally over 90% and hits 95%+ a lot (I setup an alert). Power cycle is required. I can ping the host but SSH does not connect nor does UI.
How can I troubleshoot better?
What operating system image do you use?
rpi3-64 (Raspberry Pi 3 64-bit OS)
What version of Home Assistant Operating System is installed?
8.2
Did you upgrade the Operating System.
Yes
Steps to reproduce the issue
...
Anything in the Supervisor logs that might be useful for us?
Anything in the Host logs that might be useful for us?
System Health information
System Health
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4896 Installed Version | 1.25.5 Stage | running Available Repositories | 1071 Downloaded Repositories | 7Home Assistant Cloud
logged_in | true -- | -- subscription_expiration | July 23, 2022 at 5:00 PM relayer_connected | true remote_enabled | true remote_connected | true alexa_enabled | true google_enabled | false remote_server | us-west-2-0.ui.nabu.casa can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 8.2 -- | -- update_channel | stable supervisor_version | supervisor-2022.05.3 agent_version | 1.2.1 docker_version | 20.10.14 disk_total | 58.7 GB disk_used | 7.0 GB healthy | true supported | true board | rpi3-64 supervisor_api | ok version_api | ok installed_addons | Mosquitto broker (6.1.2), Zigbee2MQTT (1.25.2-1), Studio Code Server (5.1.1), Eufy Security Add-on (0.9.2), Terminal & SSH (9.4.0), Home Assistant Google Drive Backup (0.108.2), File editor (5.3.3), ESPHome (2022.6.2)Dashboards
dashboards | 3 -- | -- resources | 1 views | 4 mode | storageRecorder
oldest_recorder_run | June 24, 2022 at 11:15 AM -- | -- current_recorder_run | July 3, 2022 at 5:53 PM estimated_db_size | 325.90 MiB database_engine | sqlite database_version | 3.34.1Additional information
No response