-
Notifications
You must be signed in to change notification settings - Fork 938
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
(Likely specific to only my project) Unable to delete project on test.pypi.org
(503 Service Unavailable)
#15149
Comments
Looks like the number of releases here might be causing the worker to run out of memory and this is https://python-software-foundation.sentry.io/share/issue/af51e229eb114249aec8a61092b13daa/ |
@di Thanks for the really fast follow-up. That would make sense. Do we have a guess at what the magic number would be to keep the worker from OOMing? If it's not too far off I can manually delete a few releases and try again. |
I don't know of the "magic number" per se, but one thing we know if that the production runners have 2GM RAM each, and TestPyPI have 1GB RAM each. I tried to make a "generate me 2500 releases for a project" using the from warehouse.accounts.models import User
from warehouse.packaging.models import Project, Description
from tests.common.db.packaging import ReleaseFactory
p = db.query(Project).filter_by(name='example').one()
ReleaseFactory.create_batch(2500, project=p, uploader=p.owners[0]) |
Note
This is likely only an issue with this specific project.
Describe the bug
I am unable to delete my project (
structlog-sentry-logger
) from test.pypi.org with the below 503 error:Expected behavior
For project deletion to succeed with old releases no longer associated with the project once it is recreated.
To Reproduce
Run through the "delete project" workflow on test.pypi.org for my project.
My Platform
Additional context
I hit my project size limits in September 2023 and wanted to delete the entire project to clear the 2400+ releases.
The text was updated successfully, but these errors were encountered: