Blog unreliable due to Mariadb mysteriously exiting

This blog has been unavailable quite a bit because the database, Mariadb, keeps spontaneously exiting. I’m not sure why; there’s nothing in the logs to explain it. Some people suggest the Linux OOM killer will do that, but there are no OOM killer messages in the log either.

The Mariadb server is started by systemd. Apparently whoever wrote the systemd service file for it didn’t expect that it would ever crash or exit, because they didn’t put a “Restart=on-failure” line in the service file. I’ve now tried adding one, along with “RestartSec=5″.

This entry was posted in Blog/website/news comments. Bookmark the permalink.

Leave a Reply