[Part 1] How to Fix MariaDB Crashes on AWS Lightsail: Swap Space Setup
TL;DR: If your MariaDB service keeps stopping on low-memory cloud instances (like AWS Lightsail $5 plan), it’s likely due to the OOM (Out of Memory) Killer. The simplest fix is adding a 2GB swap file to provide a safety net for your RAM. 1. The Problem: Memory Starvation on 512MB Instances When you launch a … 더 읽기