Microsoft 365 Outage: What Took Down 80% of Servers
Microsoft explained the Microsoft 365 outage that left over 80% of servers unresponsive. What the defect was and how it fired.
Microsoft has explained the Microsoft 365 outage that left users unable to send and receive email last week: at the worst point, more than 80% of its servers were unresponsive. Platform head Charles Lamanna wrote on X that a previously unknown defect hit servers across the fleet in less than two hours. Microsoft services were down for about a day.
The defect dates to July, to a fix prepared specifically for Microsoft 365 networking gateway servers. Lock contention inside an internal process made a machine unresponsive under certain load conditions. The update went through safe deployment over several weeks and ran worldwide for more than three months without impact. Testing missed it: lab traffic and hardware mix differed from production, load tests focused on weaker machines with fewer cores, and the problem gets worse on newer hardware with more cores.
Two events together set it off. Microsoft runs two independent gateway systems, and each can handle all traffic alone. Fifteen hours before the outage, one gateway failed and the load, including Teams traffic, moved to the gateway where Exchange Online lives. At the same time, 14% of the networking gateway’s capacity was offline for maintenance after an unrelated issue the day before. The load triggered the July defect and a server went down. Traffic shifted to the next one, which also fell over, and so on. Each server that came back was flooded by waiting users and crashed again.
Engineers did not roll back the July change and instead wrote a patch on top of it. Servers were taken offline in batches, patched and restarted.
Microsoft 365 has more than 400 million paid seats. In January 2023, Microsoft 365 and Azure were already down for hours after a change in the company’s network. During the current outage Microsoft said it was not a cyberattack and denied any link to the thousands of layoffs announced a month earlier.
Source: The Register