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
Still see dead process #52
Comments
I don't believe these are zombie processes. Use |
@bukzor yes, it's |
@tianlai , how would I reproduce this situation myself? See also: http://sscce.org/ |
@bukzor I'm not sure. It's not happening every time. Like I said, I used it in Jenkins' slave image. Slave just executes a Grails test job and tears down when finished. In my containers, I can see |
I have to have something that I can reproduce in order to debug. Sorry. |
We're seeing something similar to this on our mesos slaves:
This is happening inconsistently, some succeed others fail. All the ones I've observed so far leave mysqld consuming an entire CPU. Interestingly these appear different than a "healthy" dumb-init process in ps where the entire arguments are visible -- the brackets here (from
|
I am seeing the same thing, also with Jenkins Docker Slaves. Apparently the Jenkins slave.jar processes turn into zombies of two threads, both using 100% CPU each, the process PID has its state listed as Z while the other thread is listed as running. dumb-init is the parent process of this one and is listed as state Ss (interruptible sleep, session leader). with its name also in square brackets like the zombies and kernel processes. Before I added dumb-init to the mix the same thing happened but there were two levels of sshd processes in between docker and the java process in this state, apparently those now get cleaned up correctly by dumb-init (the docker command essentially starts dumb-init sshd -D. Jenkins then connects to this and starts slave.jar. Is there any specific information I could provide to help you debug this? |
@taladar |
The kernel version in use is
The system has been experiencing this problem only for a few days. As far as I can tell from the apt history.log and uprecords (which only lists the version in the format at the front of uname) the kernel used before the problem occurred was
Which versions were affected/unaffected for you? |
This looks like moby/moby#18180 |
is what we're running -- the version we were having trouble with was 3.13.0-79 iirc (not 100% sure here). But it definitely does look like moby/moby#18180 |
@taladar++ The workarounds in moby/moby#18180 seem to have fixed our issues |
I downgraded linux kernel and it seems working now. |
Hi, I'm using this dumb-init as my entry point in my dock image from centos 6
ENTRYPOINT ["/usr/local/bin/dumb-init", "-c"]
The container is spun up by jenkins docker plugin as executor slaves with command
bash -c '/usr/sbin/sshd -D'
After job finishes, I still see the zombi process issue in my docker machine
First one is docker service. I'm not able to kill either of latter ones. I'm kinda new to Docker, any idea?
The text was updated successfully, but these errors were encountered: