-
Notifications
You must be signed in to change notification settings - Fork 944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System completely hangs after upgrading from 11.5 to 12.0 #3206
Comments
Can confirm. Restults in crashes randomly. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Does it mean it only starts to happen after you restore the configuration, but the vanilla OS doesn't show these issues? Can you share any details of the HW the TrueNAS OS is running on? The symptoms are similar to out-of-memory issues, do you have any insights about the memory usage of the VM? |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@gjobin This really looks like the HA VM goes out of memory - the Memory graph in HA does show the actual memory consumption (without buffers/caches), so if it's hovering around 98%, it means it's getting out of memory and probably swapping heavily, showing the symptoms you describe. Here's memory usage of my instance, running way more custom integrations and add-ons than yours: It can't be ruled out that the OS update triggered something to misbehave, for start I will start restarting HA in the safe mode to check if any custom integrations isn't to blame. But most likely the memory consumption was always on the edge even in 11.5 and with some of the recent changes it just went too high. I also recommend setting the "Minimum memory size" and actual "Memory size" to the same value for the VM. I expect this to disable memory ballooning, i.e. the hypervisor will allocate the fixed amount of RAM instead of increasing it on demand. This can also rule out some lower-level issues. |
Also, in between my initial report of the issue, there has been both, a Core and a Supervisor update. Iwonder if they might have fixed any potential Memory issue. Edit : changed "Core and a Supervisor issue" to "Core and a Supervisor update" |
Hmm, that looks good indeed. I wonder if there isn't something wrong with the ballooning driver in the newer kernel 🤔 If you're willing to do some more tests, could you set the "minimum memory size" to 512M again and check if it starts to eat the RAM again?
My guess is that it should be okay to do so. I'd say that many people run it on systems with that (or even lower) amount of RAM.
I am not aware of any recent issues in Core or Supervisor causing memory to leak, so likely not. |
Thank you for your investigation ! I have the same issue with proxmox from 12.0 I will definitely check my VM memory config when back home... (I know that there's 4GB allocated but I am not sure about minimum and I don't have access to it from the office) |
Same issue when running 12.0 on virtual machine manager of a synology NAS. There is definitely a memory problem and several processes are killed by the kernel´s Out Of Memory Killer. You can see that on console messages. These are not allways the same processes. Sometimes it is even impossible to get a console connection and a complete virtual machine power cycle is required. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Same here. Running on Synology VMM and got freezes randomly every few hours since the latest Update. Seems like it run out of memory, because I once got that message in the console. And the I got problems like:
or
And sometimes there is no message, because the console is frozen. This also happens with 12.1. |
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. |
Describe the issue you are experiencing
Followed this tutorial to initially install HAOS on TrueNAS scale as a VM.
Host :
Symptoms :
Add-ons :
Integrations (Other than default) :
What operating system image do you use?
generic-x86-64 (Generic UEFI capable x86-64 systems)
What version of Home Assistant Operating System is installed?
11.5
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 information
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Additional information
No response
The text was updated successfully, but these errors were encountered: