Skip to content
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

Random system freeze at build #37814

cromefire opened this Issue Sep 10, 2018 · 1 comment


None yet
4 participants
Copy link

cromefire commented Sep 10, 2018


Steps to reproduce the issue:

  1. Run docker build
  2. At some step the whole system freezes

Describe the results you received:

System is slowly freezing can't be shutdown and has to be reset.

Describe the results you expected:

System keeps alive

Additional information you deem important (e.g. issue happens only occasionally):

At some point (which is consistent as long as the Dockerfile is the same, but changes if I rearrange steps) the docker output stops and then the whole system freezes step by step until I can only move the mouse.

I tried dump-init, but it did not work either.

Currently it is freezing at EXPOSE 8080/tcp, so not only custom commands are affected.

I have this issue both with the official Ubuntu packages and the snap package.

Output of docker version:

 Version:      17.06.2-ce
 API version:  1.30
 Go version:   go1.8.3
 Git commit:   a04f55b
 Built:        Thu Sep 21 20:36:57 2017
 OS/Arch:      linux/amd64

 Version:      17.06.2-ce
 API version:  1.30 (minimum version 1.12)
 Go version:   go1.8.3
 Git commit:   a04f55b
 Built:        Thu Sep 21 20:36:57 2017
 OS/Arch:      linux/amd64
 Experimental: false

Output of docker info:

Containers: 5
 Running: 0
 Paused: 0
 Stopped: 5
Images: 56
Server Version: 17.06.2-ce
Storage Driver: btrfs
 Build Version: Btrfs v4.4
 Library Version: 101
Logging Driver: json-file
Cgroup Driver: cgroupfs
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 6e23458c129b551d5c9871e5174f6b1b7f6d1170
runc version: 810190ceaa507aa2727d7ae6f4790c76ec150bd2
init version: 949e6fa
Security Options:
  Profile: default
Kernel Version: 4.15.0-33-generic
Operating System: Ubuntu Core 16
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.52GiB
Name: tpu
Docker Root Dir: /var/snap/docker/common/var-lib-docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 16
 Goroutines: 25
 System Time: 2018-09-10T18:31:14.685454878+02:00
 EventsListeners: 0
Experimental: false
Insecure Registries:
Live Restore Enabled: false

WARNING: No swap limit support

Additional environment details (AWS, VirtualBox, physical, etc.):


Linux <host> 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

This comment has been minimized.

Copy link

HugoPoi commented Mar 28, 2019

Not sure if I am affected with the same issue but it seems very similar symptoms:

  • COPY operation are very slow like ~3 seconds for copying one file.
  • Random stall then full crash of my host
  • Using btrfs storage driver
  • Linux kernel 4.19.31-041931-generic #201903231635 SMP Sat Mar 23 20:37:55 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
  • Docker version 18.09.4, build d14af54266

I confirm this is entirely a btrfs driver related problem because I change the Storage Driver to overlay2 and my issue is gone. I will report if i have any improvement with future kernel update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.