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

nat process oom-killed #3921

Open
jnehlmeier opened this issue Apr 24, 2023 · 2 comments
Open

nat process oom-killed #3921

jnehlmeier opened this issue Apr 24, 2023 · 2 comments

Comments

@jnehlmeier
Copy link

Description

Using Docker for Mac which uses Linuxkit I noticed that networking inside containers sometimes stop working. Inspecting the console log of Docker for Mac using

cat ~/Library/Containers/com.docker.docker/Data/vms/0/console-ring

reveals that the nat process has been oom-killed:

[440096.569243] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=fdb2d289e1cfce1f2cf7700bd3fa96b7c8a3077588344ba7dfc79106bdcd639a,mems_allowed=0,global_oom,task_memcg=/nat,task=nat,pid=1699,uid=0
[440096.573917] Out of memory: Killed process 1699 (nat) total-vm:5435288kB, anon-rss:4337680kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:9348kB oom_score_adj:1

So maybe you have a memory leak in your code?

Steps to reproduce the issue:

It just happens after some days using Docker for Mac 4.18.0 (104112)

@deitch
Copy link
Collaborator

deitch commented Apr 24, 2023

Docker for Mac (d4m) does use linuxkit, but it is just composing containers. I recommend opening an issue with docker.

@jnehlmeier
Copy link
Author

@deitch Thanks for your response. Actually I wasn't sure which project is the best to report it. I started here as I assumed the nat process is something linuxkit provides and you might want to verify that there is no memory leak.

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