My homeassistant installation (docker container based) dumps a core file almost on a weekly base. I haven’t noticed HA being unavailable, which means it recovers from this crash. But I would like to get rid of it, preferably the good way, i.e. have the bug that causes it fixed, or prevent the core from being stored on disk. I am running on a media that I would prefer not to receive that much data due to wear and backup reasons. The core is the main python process (easily checked with file core
), but I also looked at it with gdb but as I didn’t have python3.13 installed outside the container (and it isn’t available or so it appears), I just got to see a corrupted stack (bt command).
Would creating a folder called core in the config folder prevent this dump? I think I will do just that, but if the crash is to be fixed, what information should I post? I do not know what triggers the crash.