You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @kratsg, sorry for dalay, I don't see this problem in my docker containers even if they have been running for months and are heavily used.
Could you please provide minimal example like Dockerfile with build/run command and with such issue (and without --init)?
Hi @msoap that's fine -- see this repo which contains the Dockerfile. Nothing very complicated, but we've observed zombie processes not getting cleaned up over time. The solution is to run the docker image with --init which you can't specify as part of the Dockerfile unless you include tini manually.
See this (old) blog post: https://blog.phusion.nl/2015/01/20/docker-and-the-pid-1-zombie-reaping-problem/ and this solution (https://github.com/krallin/tini) which is now built into docker via
--init
. The shell scripts run byshell2http
will typically become zombie and won't be cleaned up without--init
or an init-script in the docker image.The text was updated successfully, but these errors were encountered: