-
Notifications
You must be signed in to change notification settings - Fork 18.6k
-
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
Panic when pulling an image, ApplyLayer - too many links" #16755
Comments
@j16sdiz Thank you for the link
Results is identical:
|
@Soulou I know this sounds silly.... But do you have >65535 images / containers (include stopped / dead container)? |
No question sounds silly, I'm glad you try helping. No, as stated in my |
Are all your images Btrfs limit is 64k for extref, 255 without extref. |
Nop, my images are all based on ubuntu:14.04. I find this error weird, event after deleting some images, it doesn't change anything. |
I think the panic part of the bug is fixed in |
@j16sdiz : I'm seeing the same error on a busybox-based image. You seems to understand what the problem may be, could you please elaborate ? How can I check the number of hard-links or soft-links ? And do they add up to other images ? [EDIT] For people ending here after a google search: Changing the base image from busybox to something else solved my issue (in my case I changed to python:3.5). Thanks |
@coyotwill busybox have (almost) all files in /sbin /bin and /usr/bin hardlinked to the same binary.
|
Thanks for your answer @j16sdiz |
Flush panic was fixed. Too many links probably too, wasn't reported since. Feel free to open new issue if problem persists. |
Hello,
Docker version:
Docker info:
Additional environment details (AWS, VirtualBox, physical, etc.): |
Btrfs used to have a very low hardlink limit if files existed in same directories like they do for busybox. This was fixed in Linux and should be default since
For existing devices you can use |
@tonistiigi should that be added to the user guide? https://docs.docker.com/engine/userguide/storagedriver/btrfs-driver/ |
@thaJeztah Maybe. This issue should be old enough to not appear. I'm sure there are worse btrfs issues than this in old kernels. But if @FlorentATo confirms that this helped, then we could add it for sure. |
Hello everyone,
I wanted to pull
nsqio/nsq:v0.3.6
but my docker daemon crashed (with all my containers :() with the following error.It only occured on one server (docker 1.7.1, kernel 3.13.x, btrfs backend, lot of free ram and lot of free disk space), everything went well on the others. The error is repeatable, I have not restarted the server yet.
I'm wondering the cause of this error, and maybe a fix for handling this error could be done to avoid a panic.
docker version
docker info
The text was updated successfully, but these errors were encountered: