I am running a Discourse installation on a DO droplet with 2GB Ram, 40GB SSD, and for almost two years, everything has been running well, until suddenly we’ve noticed a lot of slowdowns and 504 errors.
I’ve noticed that almost the entire 2GB of RAM is consumed (according to htop), but isn’t swapping much, but the big user it seems is sidekiq, and the unicorn workers.
I rebooted the server about 8hr ago and it seemed to work but then returned to having sporadic 504 errors.
I was wondering if these amounts of CPU/RAM usage are normal? If not, how can one go about finding the root of the issue to aid in the troubleshooting process?