Skip to content

Raise the memory ceiling again: 768M was still throttling - #53

Merged
lbesecker195 merged 1 commit into
mainfrom
ops/memory-ceiling-2g
Sep 24, 2026
Merged

lbesecker195 merged 1 commit into
mainfrom
ops/memory-ceiling-2g

Conversation

@lbesecker195

Copy link
Copy Markdown
Owner

Follow-up to #52, which raised the cap from 300M/400M to 768M/1G.

768M was still too tight. With the geo-IP database resident the working set settles near 700 MB, and the cgroup recorded 65,912 high breaches — the kernel reclaiming hard against the soft limit. That is the 19 September stall in miniature: oom_kill stayed at 0, so nothing died, it just got slow.

Now 2G/3G. After the restart: 477 MB used, high 0 max 0 oom 0 — no throttling at all, on a 12 GB host where two sibling services are already uncapped.

The unit now documents the check, because this counter is the warning an outage gives you for free:

cat /sys/fs/cgroup/system.slice/mcp-registry.service/memory.events

high should sit at or near zero. A climbing high means reclaim pressure; max and an outage come next.


Pages affected:

🤖 Generated with Claude Code

With the geo-IP database resident the working set settles near 700 MB. The
cgroup recorded 65,912 `high` breaches against the 768M soft limit -- the
kernel reclaiming hard, which is the 19 September stall in miniature. Nothing
was killed; it just got slow.

2G/3G leaves real room: 477 MB in use afterwards, with high, max and oom all
at zero. The host has 12 GB and two sibling services are uncapped.

- Document reading memory.events in the unit, since a climbing `high` is the
  warning that arrives before an outage

---

Pages affected:

- [MCP Registry](https://ai.mcpharbor.dev/) — the directory this serves.
- [Browse MCP servers](https://ai.mcpharbor.dev/servers) — the catalogue.
- [MCP Server Optimization](https://ai.mcpharbor.dev/book) — verified healthy after the restart.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@lbesecker195
lbesecker195 merged commit ce915a0 into main Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant