Suddenly my vm will get extremely slow and disk read operations will sky rocket.
After some digging around, it's because of insufficient ram.
One recommended solution was to create a swap file.
I followed the steps mentioned in the below link but swap memory is not getting created. In htop, it's showing 0k/0k Swp.
https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/oom-swap-file-linux-vm