Closed bendiger closed 5 months ago
I struggle to think of an easy way to debug this or what would cause it. The HA supervisor loses all of its logs on a reboot, but it also seems unlikely those logs are useful because even the supervisor runs inside docker. The host is where useful information would be, but HA doesn't make it easy to get in there. Would you be willing to get ssh access to the host to see if it has any logs that might provide a clue?
Funny you say that. I think I was able to figure out the issue. I was running out of ram on the my Host machine, some how... Every time I would see the backup start there was a quick short jump in ram usage, and sometimes proxmox hates this. I wonder if something changed between proxmox 7 to 8. I didn't have issues with ram before upgrading. Super fun to hunt down, but giving the VM another gig of ram seems to have mitigated the issue. I become more and more convinced each day that virtualization of home assistant is a bad idea. If I run the same config on bare metal, I have no issues. 🙃
Yikes, I'm glad you were able to extrapolate the problem from the little memory spike, that would have been a real pain to track down without a clue. I expect HA to use more ram during backups, ha still does all the work to construct the backup and particularly while backing up the database it buffers sensor history to ram. If you notice its this add-on using more memory let me know because that's probably a bug, its just sitting idle while it waits for HA to finish the backup.
Description:
Addon version:
0.112.1
Home Assistant Version:2024.1.5
Supervisor Version:2024.02.0
Supervisor Channel:stable
Hassos Version:11.5
Docker Version:24.0.7
Architecture:amd64
Machine:qemux86-64
Date:2024-02-22T14:08:35.667557+00:00
Timezone:America/Chicago
Failure Time:Never
Last Good Sync:2024-02-22T13:23:28.853205+00:00
Next Sync:2024-02-22T15:41:26.279196+00:00
Next Backup:2024-02-23T10:00:00+00:00
Next Cache Warm:2024-02-22T15:35:33.778823+00:00
Time Offset:0.0
Exception:
Backups:
Config:
Addon Logs:
Supervisor Logs:
Home Assistant Core Logs: