Kagi's 2-Hour Outage: Rate-Limit Clients, Not the Server
Short answer (checked 2026-12-03): on 2 December 2026, Kagi Search and the Kagi API were in "major outage" for 1 hour 59 minutes, from 18:15 to 20:14 UTC. Kagi's own explanation is not a cloud fault or a bad deploy: "general request load" from "some misbehaving clients putting excess load on our infrastructure", fixed with updated blocking rules. Any public service can hit the same wall. In our own load test, a flood from four clients cut a real user to 56% of requests answered within 2 seconds; one global rate limit made it worse (6%); a limit per client brought the user back to 100%. Limit who asks, not how much the server takes in total.
Source. Kagi status page, incident "Search service disruption" and the status history (read 2026-12-03); the Hacker News thread "Kagi Us-East4 Outage" the same day. Kagi's June 2025 figures come from its postmortem on the status page.
What the status page shows
| Time, 2 Dec 2026 (UTC) | What Kagi's status page says |
|---|---|
| 18:06-18:27 | Automated monitors flag "us-east4 outage" four times (1, 17, 7 and 4 minutes) |
| 18:15 | "Service disruption caused by general request load on our infrastructure", search in some regions intermittent |
| 18:34 | "Updated blocking rules for some misbehaving clients", additional changes being prepared |
| 19:54 | "Things are looking stable", preventative measures rolling out |
| 20:14 | Resolved |
Three things the page does not say, so we do not claim them either. It does not name a cloud provider: Kagi's region labels (us-east4, us-central1, europe-west2) follow Google Cloud's naming, but the incident text blames load, not a region. It does not say who the clients were, scrapers, bots or a broken integration. And it does not say whether traffic failed over between regions. On Hacker News, users described it as "flappy": searches failed, then worked on refresh, which matches "intermittent".
It is not Kagi's first fight with traffic. Its June 2025 postmortem describes a DDoS from about 8,000 servers peaking at 630,000 requests per second, which kept the status page red for 55 hours 47 minutes; the follow-up list starts with "fine-tune our rate-limiting policies". On 20 October 2026 Kagi took its europe-west2 region out of the global load balancer for about 8 hours to protect users from a regional fault.
Why a few clients can take a big service down
A search request is expensive: one query fans out to indexes and outside engines before anything comes back. A client that loops, retries without backoff or scrapes at full speed spends that cost thousands of times a second, and it costs the client almost nothing. Autoscaling buys time but loses the race, because the other side scales more cheaply than you do. The only durable answer is to decide early, and cheaply, which requests deserve the expensive path. Our operators see the same pattern on customer servers, as described in our note on bot traffic and log patterns.
Our test: one global limit vs a limit per client
We ran our own script: a Bun HTTP server where each request does fixed CPU work (14 ms median with no flood), four "bot" clients with 32 connections each sending without pause, and one real user sending 5 requests a second for 20 seconds with a 2-second timeout. Limited requests got 429 with Retry-After before any work was done. Server and load generator shared the same 2 vCPU machine, so the absolute numbers belong to this box; the comparison is the point. Output, run on a DCXV Cloud server with Bun 1.4.5 on 2026-12-03:
| Scenario (20 s each) | User requests OK | User median / p95 | Bot requests served | Bot requests refused |
|---|---|---|---|---|
| No flood (baseline) | 100% | 14 / 21 ms | 0 | 0 |
| Flood, no limit | 56% | 1,448 / 1,874 ms | 1,769 | 0 |
| Flood, global limit 60 req/s | 6% | 73 / 221 ms | 1,216 | 94,465 |
| Flood, 10 req/s per client | 100% | 59 / 468 ms | 862 | 112,143 |
How to read it:
- No limit runs the box flat out (93.5 answers a second) and serves mostly bots: the user waits about 1.4 seconds and 44% of requests time out. That is what "intermittent" looks like from outside.
- One global limit protects the server and abandons the user, who now competes for the same tokens as 128 bot connections and wins 6% of the time. A global limit alone turns an overload into a denial of service you built yourself.
- A limit per client gives the user every request back. The median rises from 14 to 59 ms and the p95 to 468 ms because refusing 112,143 requests in 20 seconds (about 5,600 a second) still costs CPU. Refuse as early and as cheaply as you can: in the proxy or the firewall, not in the application.
A first run gave the same picture (no limit: 56% -> 66%; per client: median 24 ms, p95 602 ms). In that run the global limit was set to 150 requests a second, above the box's real capacity of about 95, and it never fired: a limit above your capacity protects nothing. Measure capacity first, as in our cloud server sizing guide.
Per client, on a real server
"Client" must be an identity the abuser cannot multiply for free. An API key or account is best. An IPv4 address is a fair default but breaks for users behind CGNAT, and Kagi's 2025 attack came partly from residential connections. For IPv6, one customer usually holds a whole /64, so count per /64, not per address. Give expensive endpoints lower limits than cheap ones, cap concurrent connections per client as well as the rate, and answer 429 with Retry-After so well-behaved clients slow down.
In nginx, per-address limits look like this (documented ngx_http_limit_req_module / limit_conn_module form, not run here: nginx is not installed on our blog machine):
limit_req_zone $binary_remote_addr zone=perip:20m rate=10r/s;
limit_conn_zone $binary_remote_addr zone=connip:10m;
server {
location /search {
limit_req zone=perip burst=20 nodelay;
limit_conn connip 8;
limit_req_status 429;
limit_conn_status 429;
proxy_pass http://app;
}
}
Before the next flood:
- Know your capacity in requests per second for the expensive endpoints, from a load test, not a guess.
- Limit per identity, with a global limit only as a last fuse set just under that capacity.
- Refuse cheaply and early, in the reverse proxy or firewall, never after the expensive work has started.
- Keep the status page and monitoring elsewhere, so they stay up when the service does not; see what Microsoft's 24-hour outage taught on that point.
A server you can tune yourself
On our cloud servers and dedicated servers in Tier III data centres in Prague and Covilha you control the whole stack: the reverse proxy, the firewall, the limits and the logs that show who is knocking. Tell us what you run at sales@dcxv.com and we will suggest a setup.
