-
Notifications
You must be signed in to change notification settings - Fork 116
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
Large builds consistently hang and crash the daemon #6968
Comments
@anthonyalayo could you upload a diagnostic, ideally when it's in the crashed state? The normal cause of a large crashed build is the OOM killer because the VM ran out of memory. Could you check your settings and increase the maximum allocation? |
Thanks @djs55 , I think that may in fact be the case. The diagnostic attached on the ticket was uploaded through Docker's support feature, but I did just create another diagnostic that is hopefully cleaner. The ID is: 3620C384-21E6-44D7-AD3B-F3FF4207A9FD/20230908204901. Update: Interestingly, this attempt with Kubernetes disabled (which I do need enabled) had a slightly different effect. I still received:
But it wasn't completely hosed. I was able to run other commands after it without having to force kill the daemon. |
Any idea what could be the problem @djs55 ? |
Description
I am working on a relatively large project, built using C++.
When attempting to run my build script,
Docker always crashes during the build step. The daemon becomes completely unresponsive, and I need to force quit all processes and restart.
The message I get on my build terminal is:
Here are some miscellaneous messages I am seeing that would hopefully point in the right direction.
Reproduce
Running
docker build
is all it takes for the hang and freeze to occur.Expected behavior
The build can complete and the docker daemon doesn't freeze.
docker version
Client: Cloud integration: v1.0.35-desktop+001 Version: 24.0.5 API version: 1.43 Go version: go1.20.6 Git commit: ced0996 Built: Fri Jul 21 20:32:30 2023 OS/Arch: darwin/arm64 Context: desktop-linux Server: Docker Desktop 4.22.1 (118664) Engine: Version: 24.0.5 API version: 1.43 (minimum version 1.12) Go version: go1.20.6 Git commit: a61e2b4 Built: Fri Jul 21 20:35:38 2023 OS/Arch: linux/arm64 Experimental: true containerd: Version: 1.6.21 GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8 runc: Version: 1.1.7 GitCommit: v1.1.7-0-g860f061 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Diagnostics ID
3620C384-21E6-44D7-AD3B-F3FF4207A9FD/20230907231903
Additional Info
No response
The text was updated successfully, but these errors were encountered: