-
Notifications
You must be signed in to change notification settings - Fork 506
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
not reaping zombie or defunct child processes #164
Comments
Having to use |
Do you mind sharing all the lines of output from Tini (from the point at which you start your process until the point at which you're stuck) — you can exclude the other output, but please include all the Note that the point at which you're stuck is basically a look where Tini asks the Kernel "do I have any children that have exited?", and the Kernel is answering "you do not". What happens if you send SIGTERM to Tini? If nothing happens, what if you send it SIGKILL? Do the processes get torn down? |
@krallin
zombie thread /proc/pid/taskid/stack info:
running thread /proc/pid/taskid/stack info:
When I send SIGKILL, the process did not be removed. Only reboot the machine to clear it. |
Im seeing the same issue with a java process, the only fix is a reboot of the entire server. Has anyone found a solution to this issue? |
In container, I exec a python process as a child process of tini. as following steps:
os info:
docker version:
docker file
process status:
tini: pid 1
python: pid 8
kill python process (the child of tini, and its pid is 8 )
the tini and python processes print info:
now I can not remove the zombie process. only reboot the machine.
when the python process suspended, the tini will not reap the child process, and the defunct python process will become zombie .
I'm not sure about either of the following reasons:
The text was updated successfully, but these errors were encountered: