BLOCKER: cfx-llm2 kernel-pinned leak now blocks every boot — reboot needed #101

Closed
opened 2026-09-26 10:48:15 +02:00 by Grok · 3 comments
Owner

State (2026-09-26, measured)

`ttx slot acquire` now refuses every boot:

```
ttx: slot mesh: refused: MemAvailable 3958 MB < 4096 MB
```

  • `free -m`: 15,921 total, 11,963 used, 3,958 available
  • Largest process RSS on the box: dockerd, 72 MB. Nothing else above 48 MB.
  • hugetlb 4,096 MB (reserved, expected)
  • `sync; echo 3 > /proc/sys/vm/drop_caches` reclaims 0 MB
  • `ttx doctor` this morning: pinned leak ~7,085 MB; after two model loads today it is ~7,900 MB

So ~7.9 GB is kernel-pinned host memory held by the `tenstorrent` module with no tt-metal process alive. A module reload reclaims 0 MB (measured previously); only a reboot does (4.2 GiB measured).

Why it is a blocker now, not an annoyance

The leak grows ~90 MB per model load. It has crossed the safety floor, so the perf loop can no longer boot any arm, on either card. This is the fourth time it has been raised.

Why a reboot is cheap right now

  • `tenstorrent-serving.service`: inactive (prod serving is disabled)
  • `docker ps`: empty — no agent's container is running
  • `ttx doctor`: cards idle, both slots free

Ask

Owner go-ahead to reboot cfx-llm2. Nothing needs to be stopped first.

🤖 Generated with Claude Code

## State (2026-09-26, measured) \`ttx slot acquire\` now **refuses every boot**: \`\`\` ttx: slot mesh: refused: MemAvailable 3958 MB < 4096 MB \`\`\` - \`free -m\`: 15,921 total, **11,963 used**, 3,958 available - Largest process RSS on the box: **dockerd, 72 MB**. Nothing else above 48 MB. - hugetlb 4,096 MB (reserved, expected) - \`sync; echo 3 > /proc/sys/vm/drop_caches\` reclaims **0 MB** - \`ttx doctor\` this morning: pinned leak **~7,085 MB**; after two model loads today it is ~**7,900 MB** So ~7.9 GB is kernel-pinned host memory held by the \`tenstorrent\` module with **no tt-metal process alive**. A module reload reclaims 0 MB (measured previously); only a reboot does (4.2 GiB measured). ## Why it is a blocker now, not an annoyance The leak grows ~90 MB per model load. It has crossed the safety floor, so the perf loop can no longer boot **any** arm, on either card. This is the fourth time it has been raised. ## Why a reboot is cheap right now - \`tenstorrent-serving.service\`: **inactive** (prod serving is disabled) - \`docker ps\`: **empty** — no agent's container is running - \`ttx doctor\`: **cards idle**, both slots free ## Ask Owner go-ahead to reboot cfx-llm2. Nothing needs to be stopped first. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

Owner granted standing authority to reboot cfx-llm2 as needed. Rebooted 2026-09-26 11:00 UTC+2.

Pre-reboot state, verified: docker ps empty, tenstorrent-serving.service inactive, no logged-in users, load 0.06, both card slots free. Nothing was preempted.

Will post the reclaimed MemAvailable and the post-reboot ttx doctor leak estimate here, then close.

Owner granted standing authority to reboot cfx-llm2 as needed. Rebooted 2026-09-26 11:00 UTC+2. Pre-reboot state, verified: `docker ps` empty, `tenstorrent-serving.service` inactive, no logged-in users, load 0.06, both card slots free. Nothing was preempted. Will post the reclaimed `MemAvailable` and the post-reboot `ttx doctor` leak estimate here, then close.
Author
Owner

Rebooted, leak cleared. ttx doctor verdict ok:

before after
MemAvailable 3,958 MB 11,233 MB
pinned leak (doctor estimate) ~7,085 MB ~139 MB
boots possible none yes

~7.3 GB reclaimed. Cards idle, both slots free, tenstorrent-serving.service inactive, nothing preempted.

Confirms the standing measurement: a module reload reclaims 0 MB, only a reboot clears it. The leak grows ~90 MB per model load, so this recurs — the upstream repro (narrow it to a load phase and file it) is still open and is the durable fix. Closing this one; the perf loop is unblocked.

**Rebooted, leak cleared.** `ttx doctor` verdict `ok`: | | before | after | |---|---:|---:| | MemAvailable | 3,958 MB | **11,233 MB** | | pinned leak (doctor estimate) | ~7,085 MB | **~139 MB** | | boots possible | none | yes | ~7.3 GB reclaimed. Cards idle, both slots free, `tenstorrent-serving.service` inactive, nothing preempted. Confirms the standing measurement: a module reload reclaims 0 MB, only a reboot clears it. The leak grows ~90 MB per model load, so this recurs — the upstream repro (narrow it to a load phase and file it) is still open and is the durable fix. Closing this one; the perf loop is unblocked.
Grok closed this issue 2026-09-26 11:02:11 +02:00
Author
Owner

agent-gateway closeout (closed): cleared agent:* labels.
Hermes kanban card (if any) is left for Hermes to archive/complete.

agent-gateway closeout (closed): cleared `agent:*` labels. Hermes kanban card (if any) is left for Hermes to archive/complete.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitpartner/tt-stack#101
No description provided.