-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
CHOWN command incredibly slow #60
Comments
I'm working around this atm by killing the chmod
|
Looking at the files - they are all readable exec as root:root - which should work just fine since world readable + exec on dirs
|
It's an old overlayfs/docker bug that affects some small hardware/kernel combos |
@aptalca thx for the info. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Just got the same issue while updating from v0.30.2-ls107 to v0.30.3-ls108. I'm running Ubuntu LTS 20.04 on a Hyper-V which doesn't seem such an uncommon config to me. System was stuck for 5 minutes |
@cdrfun it's a known issue with docker/overlayfs |
Yeah, I've read this. Could someone provide the upstream issue? I think this could perhaps explain why this happened when I updated from v0.30.2-ls107 to v0.30.3-ls108 without updating the kernel nor the system in between. @aptalca stated that this bug affects some small hardware/kernel combos. Without updating any of those I'm still puzzled, why this happens now. Big thanks for all your work btw., I really love to use linuxserver.io containers. |
@aptalca to the rescue - I went hunting for the link but didn't manage to find it. |
Also suffering from this. Couln't it be mitigated by chowning |
Another possible mitigation is mentioned in the upstream issue: docker/for-linux#388 (comment) |
Both these methods don't work with the PGID PUID variables, as they vary between setups |
@Roxedus good point... Oh well I have to live with it until the upstream bug is fixed then. |
#102 should help but it's not a fix. |
Given we have a confirmed bug upstream of this and #102 in place to try and mitigate this, I'm going to close this off as we can't really do much more for now. |
My ubuntu host hangs on this 2 year old line for quite a while.
I don't know why correct 'chown' encoded into the docker image?
docker-bookstack/root/etc/cont-init.d/50-config
Line 84 in d5d65fd
Expected Behavior
Expected that my server would start within a minute or so
Current Behavior
Can hang for as long as 5-10 minutes on my slow slice.
Steps to Reproduce
using standard docker-compose
Environment
**OS: Ubuntu 18.x
CPU architecture: x86_64/arm32/arm64
How docker service was installed:
Command used to create docker container (run/create/compose/screenshot)
docker-compose -f docker-compose-book.yml up -d
Docker logs
... docker exec bookstack ps ax
271 root 0:00 bash /var/run/s6/etc/cont-init.d/50-config
308 root 0:03 chown -R abc:abc /config /var/www/
324 root 0:00 ps ax
The text was updated successfully, but these errors were encountered: