Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

containerd crashes when memory usage is high #34

Open
sabbatical66 opened this issue Nov 13, 2024 · 2 comments
Open

containerd crashes when memory usage is high #34

sabbatical66 opened this issue Nov 13, 2024 · 2 comments

Comments

@sabbatical66
Copy link

Thanks for this repo, I haven't been able to figure it out myself for a long time! During usage, I encountered an issue: when I start many new containers and the total memory reaches its limit, containerd crashes and automatically restarts. This causes dockerd to lose connection, and all containers started by the previous containerd process are terminated.
Normally, containerd or dockerd should have higher priority and should kill individual running containers before an out-of-memory (OOM) situation occurs. I don't know how to handle this issue myself.

@cruizba
Copy link
Owner

cruizba commented Nov 15, 2024

Mmm are you sure this isn't a problem of containerd itself? This repository just install docker in a standard ubuntu image. I have no control over it.

@sabbatical66
Copy link
Author

Mmm are you sure this isn't a problem of containerd itself? This repository just install docker in a standard ubuntu image. I have no control over it.

Yes, I ve seen the Dockerfile. However in this case, what happens inside the container is indeed different from what happens on the physical machine...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants