- Hide menu

DigitalOcean Droplets aren’t configured with swap

Public service announcement – if your droplets are crashing mysteriously, check to see if it’s running out of memory and if adding swap space will fix your problem. This is what was in the /var/log/syslog file:

kernel: [62413.467900] Out of memory: Killed process 12910 (mysqld)...status=9/KILL

Sample instructions here if you’re running Ubuntu. This fixed my mysql problem which was causing random crashes several times a day.