-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
exec(tty=true) process leak when restart containerd #8856
Comments
Very interesting issue, I think containerd cri need clean them up after restart. I think the process created by The current CRI plugin will keep waiting for the process to exit even if the connection is disconnected, this design also causes the exec sh process to leak |
It's not just containerd restarts that cause |
Any exec without |
I found that adding the -d parameter when executing this command also caused the pipe to be lost. |
Description
restart
containerd
if there are someexec(tty=true)
processes,likecrictl exec -it container-id bash
,theshim-v2
does not releasestdin fifo
fd for exec process and the exec processbash
leak.Steps to reproduce the issue
Describe the results you received and expected
expected:
received:
What version of containerd are you using?
main branch
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response
The text was updated successfully, but these errors were encountered: