I'm using MariaDB on Ubuntu 22.04 running on a Proxmox container (LXC). I have two instances for two different services, but since upgrading from 21.10 to 22.04 both instances completely freeze once every 1-2 days.
Trying to restart MariaDB doesn't work, because it's frozen and won't close. For the same reason even trying to reboot the container doesn't work, and the only way to unfreeze it is to manually kill the process (with -9) and restart it.
This has been happening only since I've switched to 22.04, and also happen on a clean install. I've tried to increase ulimits and seting a connection timeout with no result.
Moreover, no error or indication of a problem seem to be logged in either syslog or any of MariaDB's logs.
I've tried searching for solutions but this somehow seems to affect only my setup, so it might be the combination of MariaDB + Ubuntu 22.04 + LXC.
Any suggestion would be extremely welcome since I'm starting to run out of options, other than trying to upgrade to 22.10 hoping for a fix or just moving the database on a VM instead of a CT.
Thanks!