Runbook

Unresponsive MySQL service on pod with database lock.

Back to Runbooks

Overview

This incident type refers to a situation where the MySQL service running on a pod becomes unresponsive and is unable to process new read and write requests. The incident could be caused by a database lock, which prevents other processes from accessing the database. The exact cause of the lock situation may need to be determined to resolve the issue.

Parameters

Debug

Next Step

Check the status of the pod in question

Check the logs of the MySQL container in the pod

Check the status of the MySQL service

Check if the MySQL database is locked

Inside the container, connect to the MySQL database

Inside the MySQL prompt, show the process list

Inside the MySQL prompt, show the locked tables

Repair

Inside the MySQL prompt, kill a locked process

If the locks cannot be released, try restarting the MySQL service or the entire pod to clear all locks.

Learn more

Related Runbooks

Check out these related runbooks to help you debug and resolve similar issues.