-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
One of the layers is large than 80G, Can't push image to harbor #18888
Comments
Try to set |
|
I set client_max_body_size 0 at http-scope ,but the push still failed |
Is it still the same error msg after setting the client_max_body_size 0? Please provide more details, for example core log, proxy log etc. |
I install harbor with docker-compose and no nginx proxy in front of harbor-nginx |
Hi @FLM210 How did you update the nginx config to |
@zyyw
|
@FLM210 Can you push the large layer image now after update the |
@zyyw This is the configuration I used before reopening the issue |
Same problem here. |
the error comes from harbor core, seems it reached some limitation on golang http package side. |
My remaining disk space exceeds 1T, so I guess this isn't a disk space issue |
the tmp files resides on /tmp, which is memory actually, maybe that is memory limitation? |
My memory is only 24GB, but uploading a 30GB sized layer can be successful |
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days. |
I failed to push a layer with a 37G image using Skopeo skopeo logs:
harbor nginx logs
harbor core logs
regitry logs
|
Same problem here... |
It looks like limited by beego config. https://github.com/goharbor/harbor/blob/main/src/core/main.go#L131 |
Maybe the behavior will be different for different clients, if it used chunked uploads and will not encounter the problem, some uploads by the whole blob and recognize as the |
We have tryied all nginx configuration and set beego memory maxuploads with 128GB,but still encounter this error. |
harbor-core error log
I set REGISTRY_HTTP_CLIENT_TIMEOUT=600 environment variable for jobservice and core service
It's my nginx config
The text was updated successfully, but these errors were encountered: