System keeps locking up / unresponsive

Hi All,
Trying to figure out how to troubleshoot my HA. It seems like every 5-6 days my HA freezes and becomes unresponsive. I can’t log in via nabucasa (remote) or even remote (via IP). It seems the only thing I can do is restart my docker instance. How can i go about troubleshooting this? When I look at the logs on reboot, it only shows the new logs.

Home Assistant running on Synology via docker

Thanks in advance!

The old log file is renamed to home-assistant.log.1, which you should be able to open with a file editor.
You can also try to attach a monitor to you HA installation and see what that outputs.