f.haeder.net

MySQL killed by OOM

Today the database server behind this and many other services died (or was killed) due to low-memory problems. When I SSH-ed in, it shows me this memory usage:
total used free shared buffers cached
Mem: 7939312 3764024 4175288 0 203592 1434224
-/+ buffers/cache: 2126208 5813104
Swap: 12485748 11742532 743216

Looks like a zombie were around? All other processes are consuming lesser memory. Now I run a swapoff -av && swapon -av to cleanup swap space.
kernel linux memory-limited oom server
My hoster would install more RAM but only for +10,- EUR per month (!) (not once). I don't accepted that and stated that installing RAM is a one-time job.
I have switched to #Devuan Linux which is a #systemd-free Debian-based OS. And it has #PHP7 ... Cool. :-)
Later posts Earlier posts