独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
A

Arvo-AI/lastwords

Captures the heap, threads and core of a Kubernetes container before it dies

装之前:没有可直接复制的命令 · 许可证 Apache-2.0 · 链接可访问

第一步:这条暂时没有可执行的下一步,可先看原仓库 https://github.com/Arvo-AI/lastwords

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
★ 数取值
3 ★ · Arvo-AI/lastwords · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-11-04 · 最近见到 2026-11-14 · 共见到 11 次 · 被 1 个来源列出
评分构成
综合分 103 · 3 ★ · 1 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 Arvo-AI/lastwords;我们收录于 2026-11-04;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# lastwords

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Memory snapshots before OOM kills, and logs and core dumps from crashes, for Kubernetes.
lastwords runs on every node. When a container gets close to its memory limit, it records what is using the memory. When a container dies, it saves the logs of that instance, the pod's events and any core dump. Everything stays on the node (or in S3), and you can read it with kubectl lastwords or from an AI agent over MCP.
sh
helm install lastwords oci://ghcr.io/arvo-ai/charts/lastwords -n lastwords --create-namespace
## The problem
When you look at a pod that died hours ago, most of the evidence is gone:
OOMKilled leaves no heap dump. The kernel kills the process with SIGKILL. -XX:+HeapDumpOnOutOfMemoryError never fires, and Go, Node and Python get no warning either.
kubectl logs --previous only keeps one restart. After a few crash-loop restarts, the logs from the first failure are gone.
Events expire after one hour (--event-ttl, default 1h).
Core dumps go nowhere. corepattern is set per node, so crashing containers either dump nothing or dump to a path inside a container that is about to be deleted.
None of it can be recovered later. It has to be collected while the container is alive or right after it dies, which is what lastwords does.
## What it captures
| When | What lastwords saves |
| A container nears its memory limit (90%, again at 97%, or earlier if it is climbing fast) | Memory breakdown (heap vs page cache vs kernel), a memory timeline, processes. Java: class histogram, heap info, native memory, thread dump. Go: heap profile with the top allocation sites. Optional full heap dump. |
| A container is OOMKilled | The memory curve up to the kill, logs of the instance that died, pod events, and links to the snapshots taken before the kill |
| A process inside a container is OOM-killed but the container survives | What Kubernetes never reports: which process died and the memory state |
| A container crashes (non-zero exit, signal) | Log tail of the dead instance, the crash site parsed from Go/Java/Python stack traces, events, exit code meaning |
| A process dumps core (SIGSEGV, SIGABRT, ...) | The gzipped core, memory maps, binary and image, matched to the pod |
| A pod is evicted | Eviction reason, every container's logs, events |
Every capture comes with a summary.md that says what happened in plain words:
# checkout-5498f94695-526hm/checkout was OOMKilled at 16:51:38 UTC (limit 384.0 MiB); 1 snapshot taken before the kill
## What lastwords found
Memory climbed steadily for 1m1s, the pattern of a leak or an unbounded cache. Raising the limit would only delay the next kill.
Before the kill (67% of limit): Largest application classes on the heap:
com.example.checkout.CheckoutService$CartSnapshot: 2860 instances ...
Before the kill (67% of limit): One class dominates the Java heap: byte[] holds 179.2 MiB (97%).
# order-consumer-76d5fcb94-8vm4p/consumer crashed at 03:09:30 UTC: Error, exit code 2
## What lastwords found
Crashed in main.registerDiscount at /src/main.go:19 (assignment to entry in nil map).
## Use it
sh
kubectl lastwords list # everything from the last 7 days
kubectl lastwords list -n shop --kind oomkill
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/arvo-ai-lastwords/)
来源
github · https://github.com/Arvo-AI/lastwords
按领域浏览
开源项目
Traction
3 ★
收录于
今天

同类推荐

全部 1,671 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引