MySQL OOM crash-loop on a multi-tenant box
Sites across a shared VPS intermittently 502'd with DB-connection errors; mysqld was being OOM-killed repeatedly.
One PHP-FPM pool with an oversized min_spare was pinning 50+ idle workers, thrashing swap until the kernel killed the lowest-priority process — mysqld.
Right-sized the pool's pm.* values, graceful-reloaded FPM, and hardened mysqld with OOMScoreAdjust=-600 so it stops being the kernel's first victim.