-
Descriptionnerdctl在创建容器过程中,会产生大量 /usr/local/bin/nerdctl _NERDCTL_INTERNAL_LOGGING /var/lib/nerdctl/1935db59 进程,占用大量内存 Steps to reproduce the issueDescribe the results you received and expected不会产生这类进程: /usr/local/bin/nerdctl _NERDCTL_INTERNAL_LOGGING /var/lib/nerdctl/1935db59 What version of nerdctl are you using?Client: Server: Are you using a variant of nerdctl? (e.g., Rancher Desktop)No response Host informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Would you mind describing the problem using English? |
Beta Was this translation helpful? Give feedback.
-
When nerdctl creates a container, a large number of /usr/local/bin/nerdctl _NERDCTL_INTERNAL_LOGGING /var/lib/nerdctl/1935db59 processes will be generated, occupying a lot of memory |
Beta Was this translation helpful? Give feedback.
-
At the same time, a large number of useless processes such as /usr/local/bin/containerd-shim-runc-v2 -namespace default -id 1bd8240eed267bdacf0670649908da30d6f05529a1d69f5ed1d9d8f8694e0bd7 -address /run/containerd/containerd.sock. because 1bd8240eed267bdacf0670649908da30d6f05529a1d69f5ed1d9d8f8694e0bd7 corresponding container have exited |
Beta Was this translation helpful? Give feedback.
-
I think it's not a bug. It's a special callback to let contained push logs to the nerdctl. FYI https://github.com/containerd/nerdctl/blob/master/cmd/nerdctl/run.go#L882-L895 |
Beta Was this translation helpful? Give feedback.
I think it's not a bug. It's a special callback to let contained push logs to the nerdctl. FYI https://github.com/containerd/nerdctl/blob/master/cmd/nerdctl/run.go#L882-L895