Scenario
An alert on a driver line that paged nine times
RolesInference EngineeringAI Evaluation and Reliability
- Engine
- SGLang 0.5.22
- Model
- Qwen/Qwen3-30B-A3B-Instruct-2507
- Hardware
- one GB10 with 121.7 GiB of unified memory, shared with other users
Situation
A platform team runs SGLang on desktop machines with unified memory, which several teams share. After a memory incident elsewhere, they add an alert rule to the kernel log: page on-call whenever the GPU driver logs NV_ERR_NO_MEMORY. On the first afternoon the rule pages nine times between 13:52 and 16:46. Each page is a burst of 3 to 13 identical lines inside one minute, then silence.
On-call finds no user complaint, no failed request and every server healthy. The team proposes to keep the rule and raise its threshold so that only a long burst pages. You review the alert design before the next on-call week, with the burst table, the server log of one start on that machine and the manual.
Questions
- Read the burst table. What pattern do the timestamps and the counts show, and what does a server do at those moments?
- The server log shows a 503 and then a 200 on the health route. Which signal did on-call need, and did the rule carry it?
- The manual could not match each burst to one start. Why not, and what does that say about the evidence you keep?
- Design the alert: which signal pages a person, which signal is a diagnostic, and where does the driver line go?
- Which runbook turns this page into a five-minute check instead of an investigation?
Commit to a cause after each listing. Write it down before you read the next one.
Evidence
the kernel log bursts that the alert rule matched, by minute
Nine bursts in one afternoon. The last line is the message that each burst repeats.
count minute (UTC) kernel message, NVIDIA driver on the GB10
3 2026-10-16T13:52
9 2026-10-16T14:36
13 2026-10-16T14:55
10 2026-10-16T15:04
7 2026-10-16T15:30
7 2026-10-16T15:47
12 2026-10-16T15:58
9 2026-10-16T16:11
7 2026-10-16T16:46
NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1359Source: manuals/sglang-101/capture/gpu/incidents/gb10-driver-no-memory.txt
a server start on the same machine: the probe before and after the ready line
The first health check returns 503 during startup, and the probe after the ready line returns 200.
[2026-10-17 14:19:12] INFO: 127.0.0.1:38426 - "GET /health HTTP/1.1" 503 Service Unavailable
[2026-10-17 14:19:13] INFO: 127.0.0.1:38432 - "GET /model_info HTTP/1.1" 200 OK
[2026-10-17 14:19:13] Prefill batch, #new-seq: 1, #new-token: 6, #cached-token: 0, token usage: 0.00, #running-req: 0, #queue-req: 0, #pending-token: 0, cuda graph: True, input throughput (token/s): 3.82
[2026-10-17 14:19:13] INFO: 127.0.0.1:38444 - "POST /generate HTTP/1.1" 200 OK
[2026-10-17 14:19:14] INFO: 127.0.0.1:38452 - "POST /freeze_gc HTTP/1.1" 200 OK
[2026-10-17 14:19:14] The server is fired up and ready to roll!
[2026-10-17 14:19:14] Prefill batch, #new-seq: 1, #new-token: 1, #cached-token: 0, token usage: 0.00, #running-req: 0, #queue-req: 0, #pending-token: 0, cuda graph: False, input throughput (token/s): 0.88
[2026-10-17 14:19:15] INFO: 127.0.0.1:38462 - "GET /health HTTP/1.1" 200 OKSource: manuals/sglang-101/capture/gpu/out-gb10/server-default.log, lines 38-45
the weights and the pool of one start on unified memory
The pool takes tens of GB in about three seconds, and every other program on the machine sees that memory go.
[2026-10-17 14:18:29] Load weight end. elapsed=323.61 s, type=Qwen3MoeForCausalLM, avail mem=54.84 GB, mem usage=57.75 GB.
[2026-10-17 14:18:32] KV Cache is allocated. dtype: torch.bfloat16, #tokens: 227243, K size: 10.40 GB, V size: 10.40 GB
[2026-10-17 14:18:32] Memory pool end. avail mem=31.22 GBSource: manuals/sglang-101/capture/gpu/out-gb10/server-default.log, lines 18-20
what the manual says about the driver line and what it could not match
Read the paragraph after the listing, then the position at the end.
The NVIDIA driver also reports memory errors at startup. The kernel log of the GB10 holds bursts of this line:
```listing
title: the driver line at server startup
source: capture/gpu/incidents/gb10-driver-no-memory.txt
lang: text
note: The last line of the file. The lines above it count the bursts per minute.
---
NVRM: nvCheckOkFailedNoLog: Check failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from _memdescAllocInternal(pMemDesc) @ mem_desc.c:1359
```
The bursts are dated 2026-10-16, the day of our first test and sweep starts on the GB10. We did not keep the server logs of that day, so we cannot match each burst to one start. Every server in our later captures became healthy and finished its benchmarks.
**Our position:** on unified memory, the KV pool is memory that the whole machine gives up. Pass `--mem-fraction-static` on purpose, and tell the other users of the machine before you start. Do not alert on the driver line alone. Alert when a server does not become healthy.Source: manuals/sglang-101/sections/3-2-mem-fraction-static-and-startup-sizing.md, lines 125-138
the row of the incident index for this line
Symptom, cause, status and section, in that order.
| Driver `NV_ERR_NO_MEMORY` on a GB10 ([record](manuals/sglang-101/capture/gpu/incidents/gb10-driver-no-memory.txt)) | Bursts of driver out-of-memory lines in the kernel log | The bursts fall on 2026-10-16, the day of our first starts. We did not keep the server logs of that day, so we cannot match each burst to one start | Every server in our later captures became healthy. Alert on health, not on this line | [3.2](#s-mem-fraction-static-and-startup-sizing) |Source: manuals/sglang-101/sections/r-3-incident-index.md, lines 15-15
The answer
Show the walkthrough
- Read the shape of the bursts. Nine minutes carry lines, over about three hours of 2026-10-16, and every burst sits inside a single minute. The manual dates them: that was the day of the first test and sweep starts on that machine. A server start on unified memory is a burst of allocation. In the startup listing the weights settle at 57.75 GB, and three seconds later the pool takes 10.40 GB for keys and 10.40 GB for values. The manual's position is that every other program on the machine sees that memory go. The driver line is something the machine prints around a start, and the rule paged on starts.
- Read the signal that matters. In the server log the first health probe returns 503 at 14:19:12, because the server is still starting. Two seconds later the ready line prints, and the probe at 14:19:15 returns 200. That transition answers the on-call question: did the server come up and serve? The driver line answers nothing about that. It fires on an allocation whether the start succeeds or fails, so it carries no health information at all.
- Read what could not be matched. The manual says the server logs of that day were not kept, so no burst can be matched to one start, and that every server in the later captures became healthy and finished its benchmarks. The incident index records the same status and the same rule: alert on health, not on this line. The evidence lesson sits inside that sentence. A kernel line without the server log of the same minute is a clue with no suspect. Keep both logs, with timestamps, or you cannot say which process caused which line.
- Design the alert. Page on a server that does not reach its ready line inside its start budget, and on a server that stops answering its readiness probe after it was ready. Page on a queue that grows for longer than the users accept. Turn the driver line into a counter on the dashboard, attached to a page as context and never a page on its own. On a shared machine of this kind the manual adds two more measures: run the server in a container with a memory limit, and log the free memory of the machine once a second during startup, so that the next burst comes with the number that explains it.
- Write the runbook. The SRE lesson gives the shape: symptom, hypothesis, verify, act. Symptom: a burst of the driver line. Hypothesis: a server allocated its pool in that minute. Verify: find a start in the server log within the same minute, and read the health transition after its ready line. Act: nothing if the server became healthy; if a start failed, the startup page of the manual takes over. With the logs kept, this is a five-minute check.
Show the resolution
The rule measured allocations, not failures. It paged on every start of a healthy server, nine times in one afternoon, and gave on-call nothing to act on. The rule is retired as a pager and kept as a diagnostic counter. The pages that replace it are the health transitions: a start that does not reach its ready line in its budget, and a ready server whose probe fails. On the days with server logs, every start on that machine reached its ready line, so the health rule pages zero times where the driver rule paged on every start.
Two changes to the evidence come with it. The kernel log and the server log of each machine are kept together, so that a future burst can be matched to a process. During startup the machine's free memory is logged once a second, which puts the allocation that the driver line reports next to the pool size the server prints. The threshold proposal is dropped, because a higher threshold silences a rule that was never a signal.
Show the wrong turns
“Raise the threshold so that only a long burst pages.”
The bursts were 3 to 13 lines. A threshold above them silences the rule on a day like this one, and on a worse day it still says nothing about whether a server serves.
“Lower the memory fraction until the driver stops complaining.”
Nobody matched a burst to a start, so nobody knows that a smaller pool removes the line, and a smaller pool costs users at every load. Set the fraction on purpose for the shared machine, for its own reason.
“Keep the page, a driver error is always serious.”
Every server in the later captures became healthy. A page with no action teaches on-call to ignore pages.
“Drop the line from the log pipeline.”
Keep it as a diagnostic next to the health signal. It dates an allocation, and with the server logs kept it names the process.
Show the general rule
Alert on the symptom a user would feel, and keep the mechanism lines as diagnostics. A line that fires on normal work pages you on every success. Before a rule pages a person, replay it against a known-good day, and keep the logs that let you match each firing to a cause.
Taught in
The SGLang manual records the bursts and sets the rule in the shared-pool part of the memory page, lists the status in the incident index, names the health endpoints in the operating page, and the SRE for AI lesson gives the runbook shape.