PyPI degraded performance, Jun 27 2022 (4 h 19 min)
This incident is over. PyPI reported it on pypi.org - CDN and pypi.org - Email at 14:20 UTC on Jun 27 2022 and resolved it after 4 h 19 min.
PyPI status page: “Queue delay affecting CDN purges and emails”
### Summary PyPI initially experienced delays in features which used a centralized task queue \(such as purging the CDN cache and sending emails\) due to a poorly performing task type. This was followed by an outage due to the combination of the steps taken to mitigate the queue issue and unrelated changes that affected PyPI’s performance, resulting in PyPI becoming unavailable via the web or for installations. ### Details On Thu, 23 Jun 2022 at 04:55 UTC, PyPI admins deployed a change which introduced a new periodic task designed to aggregate statistics about 2FA usage on PyPI. This task was designed to run every 5 minutes and sampled multiple counts of different characteristics of 2FA usage. This task used a database query that attempted to count a large number of rows, and had poor performance, causing high database utilization and a long processing time for the task. However, while long-running, the task was finishing and publishing metrics, and so PyPI admins were unaware of its p
The latest update from PyPI.
State
Resolved
Started
Lasted
4 h 19 min
Worst impact
Degraded
Timeline
8 updatesInvestigating
45 min 17%
Identified
1 h 18 min 30%
Monitoring
2 h 15 min 52%
Updates
Times in UTCAs posted by PyPI
### Summary PyPI initially experienced delays in features which used a centralized task queue \(such as purging the CDN cache and sending emails\) due to a poorly performing task type. This was followed by an outage due to the combination of the steps taken to mitigate the queue issue and unrelated changes that affected PyPI’s performance, resulting in PyPI becoming unavailable via the web or for installations. ### Details On Thu, 23 Jun 2022 at 04:55 UTC, PyPI admins deployed a change which introduced a new periodic task designed to aggregate statistics about 2FA usage on PyPI. This task was designed to run every 5 minutes and sampled multiple counts of different characteristics of 2FA usage. This task used a database query that attempted to count a large number of rows, and had poor performance, causing high database utilization and a long processing time for the task. However, while long-running, the task was finishing and publishing metrics, and so PyPI admins were unaware of its p
This incident has been resolved.
Backends are recovering
A long running migration has caused our backends to become unhealthy, affecting all web traffic.
We've disabled the specific tasks causing delays in the queue and are continuing to monitor the queue as it drains.
We've identified specific jobs in our queue that are causing processing delays and are working to remove them.
We are continuing to investigate this issue.
A delay in our job queue is affecting CDN purges causing public pages to be stale and delays in email sending for notifications, email validation, password resets, etc.
Affected components
2PyPI in the last 90 days
Full historyIncidents in 90 days
5
Days with an incident
5
Median duration
4 h 19 min
This incident
About the median
Related incidents
All incidentsPyPI·PyPI Backends Partial Availability
the maintenance is complete and everything has stabilized
PyPI·Multiple services unavailable
All services are restored.
PyPI·Issues with search, logins and logged-in pages
This incident has been resolved.
PyPI·Issues with search, logins and logged-in pages
A fix has been implemented and the incident is closed.
Follow PyPI
Your coding agent knows when PyPI is down, and tells you when a failure is theirs, not yours. You can also get PyPI incidents in a feed reader or in Slack.
Install the outages.live MCP server, so that when something breaks you can tell if the cause is a provider we depend on and not my code. It reads the official status pages of cloud, AI, payment and developer providers and gives you their incidents as MCP tools.
Add it as a remote MCP server named "outages" at https://outages.live/mcp (Streamable HTTP, no authentication), with your CLI command or your MCP config file.
Then:
1. Make sure it connects and shows the tools get_provider, list_feed and send_feedback.
2. Call get_provider with "pypi" and tell me if PyPI has a problem right now.
3. From now on, when a call to a third-party service fails or becomes slow, call get_provider for that service before you change my code.Paste this into any coding agent. It adds the server with its own MCP setup.
Registry: Glama
https://outages.live/feed.xml?providers=pypi/feed subscribe https://outages.live/feed.xml?providers=pypiFAQ
Go from tracking outages to fixing production issues with Polylane.
Try Polylane