-
Notifications
You must be signed in to change notification settings - Fork 101
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
Integration tests can hang dockerd, ps, and the container #511
Labels
Comments
|
|
|
I've set a memory limit on the running container:
And then make got killed by the kernel:
But the container has not exited. Memory usage before:
Memory usage after:
|
jbarrick-mesosphere
changed the title
Integration tests can hang the system
Integration tests can hang dockerd, ps, and the container
Jul 5, 2019
jbarrick-mesosphere
added a commit
to jbarrick-mesosphere/kudo
that referenced
this issue
Jul 8, 2019
… set --rm to remove containers after tests (kudobuilder#512), -it to support cancelling tests.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened:
My integration tests running in Docker hung:
Killing it with SIGQUIT didn't reveal anything useful and the process was still stuck.
Running
ps faux
on my system hangs:docker stop
is unable to stop it.I ran ps and lsof and was able to see it was hung reading
ps 13617 justin 6r REG 0,4 0 3452416 /proc/5613/cmdline
cat
confirmed this:Based on this blog post it seems like this can happen when the OOM killer is disabled and a memory limit is hit, so it seems like the fix may be to set a memory limit in Docker.
What you expected to happen:
Integration tests should pass.
How to reproduce it (as minimally and precisely as possible):
The text was updated successfully, but these errors were encountered: