-->
🏠 🔍
SHAREOLITE

MySQL gets killed , no error logs linux - SOLVED swap usage


We were wondering once when MySQL server process used to get killed automatically with the below indication in /var/lib/mysql/ err log - 

140826 12:12:26 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140826 12:12:27 mysqld_safe mysqld from pid file /var/lib/mysql/shareolite.pid ended

There was absolutely no indication on whatsoever was the cause.

Finally , on brain storming we observed , the SWAP memory was fully used up which was the culprit

$ free -m
             total       used       free     shared    buffers     cached
Mem:          3830       3686        144          0        167       2381
-/+ buffers/cache:       1136       2694
Swap:         2047       2043          4

Once we rebooted the system to recover the used swap , mysql server startup was normal and continued to function normally.
 

 

Hope this tips helps to some !!


Comments

–>