Home Assistant restarts on Pool Recreating

A few weeks ago my home assistant kept restarting about every hour.
The only indications I have why this could be hapenning is that the log always end with this line:

2023-08-17 09:49:42.190 INFO (Recorder) [homeassistant.components.recorder.pool.RecorderPool] Pool recreating

On top of that I have a huge spike in cpu usage right around the restart. That could well be the restart itself or it could be the reason why it hangs up and needs to restart. Not entirely sure of that.

I am running home assistant on proxmox in a virtual machine.

My question would be, since I wasn’t able to find to much about the pool recreation, what is it exactly doing at that point and can I force it to do it manual to be able to better pinpoint the issue.

Or even better: does anyone know why this could crash home assistant?

Thanks in advance for any tips