# Debugging Systems in the Cloud: MySQL, Kubernetes, and Cgroups

DevFeed: [Debugging Systems in the Cloud: MySQL, Kubernetes, and Cgroups](<https://devfeed.tech/articles/debugging-systems-in-the-cloud-mysql-kubernetes-and-cgroups-1361.md>)

Original publisher: [Read original article](<https://shopify.engineering/debugging-systems-cloud-mysql-kubernetes-cgroups>)

Author: Rodrigo Saito

Published: 2021-10-21T17:30:01Z

Content type: article

Language: en

Sources: [Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering.md>), [Shopify Engineering - Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering-shopify-engineering.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [MySQL](<https://devfeed.tech/topics/mysql.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [bug](<https://devfeed.tech/topics/bug.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [Google Cloud Platform (GCP)](<https://devfeed.tech/topics/google-cloud.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [systems](<https://devfeed.tech/topics/systems.md>)

Tags: [bug](<https://devfeed.tech/tags/bug.md>), [cgroups](<https://devfeed.tech/tags/cgroups.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [google-cloud-platform](<https://devfeed.tech/tags/google-cloud-platform.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [linux](<https://devfeed.tech/tags/linux.md>), [memory](<https://devfeed.tech/tags/memory.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [performance](<https://devfeed.tech/tags/performance.md>), [systems](<https://devfeed.tech/tags/systems.md>), [upgrades](<https://devfeed.tech/tags/upgrades.md>)

## AI overview

This article investigates inconsistent startup and shutdown times for MySQL Pods in Shopify's KateSQL platform, which runs on Google Cloud's Kubernetes Engine. The investigation identifies a bug in the Linux kernel memory controller and describes mitigation by replacing older Kubernetes nodes.

## Source excerpt

An overview of how we investigated and solved the issue of some Kubernetes Pods running MySQL starting up and shutting down slower than other similar Pods with the same data set.