Home Assistant Crashes On Daily Basis

For a few months now, my home assistant keeps crashing, once or twice daily. SSH connection still works, GUI and managing sensors doesn’t, so all I can do is that I restart it via SSH.

s6-svwait: fatal: timed out
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
➜  ~ ha host restart

I am running home assistant on QNAP as virtual machine.

More data if it helps:

➜  ~ ha info
arch: amd64
channel: stable
docker: 27.2.0
features:
- reboot
- shutdown
- services
- network
- hostname
- timedate
- os_agent
- haos
- resolved
- journal
- disk
- mount
hassos: "14.2"
homeassistant: 2025.2.0
hostname: homeassistant
logging: info
machine: qemux86-64
operating_system: Home Assistant OS 14.2
state: startup
supervisor: 2025.02.0
supported: true

How much memory did you give your VM ?

I assigned 4 GB, 2CPU cores.

Below graph shows, how much of that is in use.

Any new ideas, what to check?