Failure#f1
The daily reset job stopped silently, was noticed the next morning, and after a reboot could not clear the overdue accounts
- Trigger
At around 3:00 UTC on 2024-05-03, on the US-hosted system, the housekeeping server ceased to run part of its schedule, the daily CPU count reset among the jobs that stopped.
Section: Details
- How it failed
The team noticed only on the morning of 2024-05-04, when the server was unreachable and had to be rebooted. The reboot got scheduled jobs running again, but by then almost every user's next reset time lay in the past, so the reset script had too many accounts to process and still did not work. Users over their limit stayed there, shown a reset due in 0 minutes.
Section: Details
- Why defences did not hold
The team calls it a new failure mode for which it had no alerting and no monitoring that would pick it up.
Near: It was a new failure mode, and
- Impact
CPU allowances on the US system were not reset from early on 2024-05-03 until the system was fully functional again at around 2:00 UTC on 2024-05-05. Users on the EU system were not affected. A separate slowdown of web services, from bot traffic, happened at the same time, and some users wrongly concluded their web apps were slow for lack of CPU seconds. As it was a weekend, not the whole team was available to respond to users.
Section: tl;dr | Section: The fix | Near: those two issues
- Fix
The server was rebooted, and the team tried to reset CPU counts by hand for users who got in touch. It then set every user's reset time into the future so that the script could pick accounts up gradually over successive runs; that update took about 14 hours. Monitoring was added to the housekeeping server that pages the on-call person much earlier if it stops running scheduled jobs in the same way.
Section: The fix | Section: Details