docker-registry
docker-registry copied to clipboard
Registry abandons files under /tmp, filling up the container
In some cases the registry creates files under /tmp and abandons these files there, filling up the container. This seems to be happening if there's too many concurrent machines trying to pull layers from the registry, thus possibly relating to bug https://github.com/docker/docker-registry/issues/540
The following error can be found from the container logs:
Exception KeyError: KeyError(139754075909168,) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
We're using the official 0.9.0 container with S3 backend. No redis caches
Thanks for the report.
I'll have a look - but see my comment #540
I just had this issue too. tmp dir was full of GetV2ImageBlobXXXXXX
files that appeared to have been orphaned.
I've had to add a script to periodically clean-up... obviously not ideal.
CoreOS 633.1.0, Official 0.9.0 registry image, S3 backend, No Redis cache.