I had the same issue on Ubuntu 22.04. When I checked the /var/log/syslog/var/log/syslog I found it out, that somehow the swapiness got reenabled.
What I did is I edited the /etc/fstab/etc/fstab file and removed the line, which contains the swap.img line, after this I rebooted the server and everything went back to normal