Background: During covid lockdown, in a fit of hyperfixation, I learned Linux and built a CentOS web server all in one go. I since had to return to my day job, but I periodically add new websites to my server, and I love having the freedom and control to run my own instance. (It’s running on a VPS on Vultr, if that matters.)
Periodically, maybe a couple times a day? I get a string of errors that say " Out of memory: Killed process ####" and my server freezes.
Not generally a big deal, since I am running a bunch of websites for myself (my band, my writing), none of them are paying clients, none of them get very much traffic — all hobbyist stuff. I usually just reset the server from the Vultr page and that’s that.
My question is: How do I diagnose what causes this? If it’s just a matter of needing more memory, I will upgrade my VPS. But if it’s a bug somewhere, or an error in my setup, I’d rather fix it than resort to “throwing money at it.”
I don’t want someone to step in and fix it for me, I want to learn how to do it myself. But I have googled around a little about this without finding any step-by-step instructions.
Screenshot attached…
Any and all help is greatly appreciated!