sregistry limit questions
See original GitHub issueI have a local sregistry running, and have the following config items:
# grep LIMIT shub/settings/config.py
USER_COLLECTION_LIMIT = 0
CONTAINER_WEEKLY_GET_LIMIT = 99999
COLLECTION_WEEKLY_GET_LIMIT = 99999
SREGISTRY_GOOGLE_BUILD_LIMIT = 9999
VIEW_RATE_LIMIT = "999999/1d"
VIEW_RATE_LIMIT_BLOCK = ( False )
However when things get busy, get the following error from “singularity push” operations:
FATAL: Unable to push image to library: request did not succeed: http status code: 429
A simple loop will have me limited in about 20 push requests over the course of 15-30 minutes. Restarting the sregistry docker container resets the limits.
This is a private facing registry for an internal user group, and I don’t want to impose any limits on them at all. Is there a config item I’ve missed? I’ve attempted to set some of those values to “0” as well, with no luck (either the container won’t start, or the problem doesn’t go away).
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Installation: Settings - Singularity Hub Container Tools
We block any addresses that go over, until the next period begins. Container GET Limits¶. Edit this page · Ask a Question. Too...
Read more >sregistry-cli/commands.md at master - GitHub
This section shows the commands running from the host command line (which could be an executable installed to python or a singularity image...
Read more >Work Around the Limits - ITPro Today
Reboot the machine, then create a new paging file on the C drive. Set the size of the paging file on the D...
Read more >CW Policy Database - Section 8 Policy Questions & Answers
Question : May a title IV-E agency claim title IV-E foster care ... Question: What is the maximum length of time a child...
Read more >Software Container (Admin Guide) - HPC Wiki
Singularity supports the option to limit usage to user groups (like ... Sregistry is a service that is easily deployable using docker, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi,
The settings didn’t take, but I haven’t had a chance to update the containers yet. I have a window to make that change tomorrow, so I’ll get back to you as soon as I’ve completed that.
Sounds good! We would want to check:
And we might need to look into if the ratelimit module uses a cache or some database model to determine rules - it could be that you make a change and then it’s not reflected because the database / cache still sees old requests.