-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
Docker RMI spins 100% CPU and takes a very long time to complete #3470
Comments
Ah, this just happened:
|
ping @mzdaniel |
same issue here
7 secs. I guess that should be quicker.
Aborted after 30 mins |
This has been fixed in 0.7.4 |
@crosbymichael are you sure?
Do I need to wipe docker's directory first? Do you mean it is fixed going forward for images made with 0.7.4? |
@vincentwoo I thought that the issue here was that |
Ah, I see. Yeah, the conflict was from a dead container that needed to be removed. I humbly suggest that the error message say as much, or point out containers causing conflicts. |
@vincentwoo thanks for following up |
I see the same issue (taking a very long time, saying there are conflicts, fails to remove) on docker 0.7.6. Any info I could provide to help repro this? |
I'm still experiencing this problem:
I have some containers that I can't delete and I suspect this is aggravating the situation:
|
Same issue on Ubuntu 13.10 64 bit.
|
Same here. |
Can you paste use |
|
I'll see if I can replicate and profile. |
Thanks. I did a strace and noticed a LOT of activity reading from /var/lib/docker/graph/*. It seems to be walking the graph many times more than is reasonable. I looked through the code and it wasn't immediately obvious why, to me, but I only spent 5-10 minutes with it. |
Yeah it's probably similar to what I optimized in the restore path. I've tried with:
As I can't reproduce with head and many more images, would you be willing to profile if I give you instructions? |
Yeah, I have a box I could run it on. |
Also could you upload the compressed strace of the docker daemon whilst you On 16 April 2014 13:54, Burke Libbey notifications@github.com wrote:
|
It only took about 10 seconds this time. It was closer to 2 minutes yesterday, but I recently pruned a few hundred dead containers and a few dozen older images. |
Actually in this case, it seems to be pretty reasonable. Mostly just unlinks. Damn. It was doing a LOT of graph stuff earlier. |
Sorry for the late repoen |
can anybody reproduce with |
I have not seen this problem post |
@vincentwoo Thank you for the update. I'll close this now. Please feel free to comment on this issue if you run into this problem. |
I am running in to the issue of docker hanging during docker rmi on Arch Linux still. And none of my images get removed.
|
@ashneo76 Please provide the output of |
Funny, that Looks like a linode bug. I tested on a physical machine (non-linode) with Arch linux and
|
@ashneo76 Docker version is still missing. |
Updated the original post accordingly. Thanks. @unclejack |
docker version
docker info
uname -a
time docker rmi 7eaa55ba2ffc
top (while running rmi)
|
@ichekrygin Can you update your system using the following command Please comment on this issue if you're still seeing the problem afterwards. |
Thanks for the update. All I did was update lxc-docker to 1.6.0 and it seems to solve the issue (rmi goes much faster, although still > 100% cpu usage, but I guess that is expected). |
This problem is back in v1.11.1. |
This is happening to me for the following docker version Server: docker info the following commands also hang. Please help me out . |
@parvathy-g are you using devicemapper (and on "loop" devices?), could be related to that |
Same problem. But mine occurred after the VM running docker ran out of disk space. Now even Work Around by deleting my local docker files: I assume one of the db files was corrupted with the machine ran out of disk space. (??) |
It's happening to me still. Only when the machine runs out of space, which is terrible, for I'm trying to delete images to gain space. |
I am having this same issue. Docker hangs on: docker images Here is the information: docker version: Client: Server: |
I have been watching
$ docker rmi cb13170d11ee
go for 5 minutes now. My laptop is getting very hot.The text was updated successfully, but these errors were encountered: