Skip to content

1.5.10 causes memory leak in mysql container; regression from 1.4.13 #6707

@C-Higgins

Description

@C-Higgins

Description

I updated containerd.io on Fedora from 1.4.13 to 1.5.10. After this, all mysql docker containers across multiple projects began using 20+GB of memory where before they used <300MB. I restarted the computer and confirmed the problem persisted. I then rolled back to 1.4.13 and the problem was gone.

Steps to reproduce the issue

  1. Run a docker container with linux/amd64 arch with ENV MYSQL_VERSION=5.7.36-0ubuntu0.18.04.1
  2. Start mysqld inside the container
  3. Observe massive memory usage in 1.5.10

Describe the results you received and expected

No regression

What version of containerd are you using?

1.5.10

Any other relevant information

runc version 1.0.3
commit: v1.0.3-0-gf46b6ba
spec: 1.0.2-dev
go: go1.16.15
libseccomp: 2.5.3

Linux localhost.localdomain 5.16.7-200.fc35.x86_64 #1 SMP PREEMPT Sun Feb 6 19:53:54 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Show configuration if it is related to CRI plugin.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions