Conversation
…, and event-store retention Nexus PDP 0.8.0 refuses to start below 2304 MiB (exit 78), reports a stalled embedded database on /health, /health/detail, an ERROR line and a metric, and removes applied, covered changes older than an hour from its event store. Replace the caution that told readers to lower the SURREAL_ROCKSDB_* sizes (the serving database ignores them and sizes its cache from the memory limit), add a "Watching for a stalled database" section, document the two retention variables, and correct the "cache of configurable size" wording on the overview pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Deploy Preview for permitio-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Zivxx
approved these changes
Nov 24, 2026
Zivxx
left a comment
Contributor
There was a problem hiding this comment.
Approved at 16fef2e. Docs only, five Nexus PDP pages. The memory guidance now matches 0.8.0: the block cache and write buffers are sized from the memory limit, the database refuses to start below 2304 MiB with exit 78, the minimum is 2.5 GiB with 4 GiB to start, it says the SURREAL_ROCKSDB_* variables don't affect the serving DB, and there's a new stalled-database section and WAL retention variables. It's consistent across the configuration, deployment, how-it-works and overview pages.
zeevmoney
added a commit
that referenced
this pull request
Nov 24, 2026
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TEQWbhtPyG778XaEvEuKrh * commit 'cdfc77a6889fea30960000355ce07a0d4eda2b1e': docs(nexus-pdp): the 0.8.0 memory minimum, stalled-database reporting, and event-store retention (#699) docs: Elements reads the user key from the environment's user key claim docs(nexus-pdp): the NATS credentials directory, PDP_RUNTIME_DIR, and its memory emptyDir (#689) docs: add SFS UTM tags on app.agent.security links in architecture and rollout (#694) PER-18198: PDP statistics API: which keys can read an environment, and paging (#693) docs(nexus-pdp): offline mode: stale serving, offline start, in-place reconnect, and the online heal (#697)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Nexus PDP 0.8.0 changed three things about memory and disk that the Nexus PDP pages still describe the old way. This PR updates the pages to match 0.8.0 (0.8.1 and 0.8.2 behave the same here).
What 0.8.0 does, and where the pages change
78before it contacts the control plane or opens a port, with one ERROR line startingedge-pdp refuses to start. There is no override.max(limit/2 − 1 GiB, 16 MiB), write buffer 32/64/128 MiB below 1 GiB / below 16 GiB / from 16 GiB.SURREAL_ROCKSDB_*reach only the cold-start snapshot ingest; the edge logs a WARN listing any that are set.SURREAL_ROCKSDB_*as the way to size memory). Overview, Nexus PDP, How it works: "cache of configurable size" is corrected.ingestgoesdownon/health(never gating readiness),/health/detailshowsstalled,stalled_since,stalled_seconds, an ERROR lineembedded database writes are stalled, andedge_pdp.embedded_db.write_stallsover OTLP. A runtime heartbeat logsthe async runtime has stopped running tasks.#stalled-database).LOCAL_WAL) retention: everyEDGE_WAL_RETENTION_INTERVAL_SECS(300) it purges only changes that are applied, covered by the served database, and at leastEDGE_WAL_RETENTION_MIN_AGE_SECS(3600) old, always keeping the newest; it holds (purges nothing) when it can't confirm coverage.Every figure and message string above was read from the 0.8.0 tag of the Nexus PDP source (its README's Memory, stalled-database and Configuration sections, the memory-floor check, and the retention task), not from measurements. No new numbers are introduced; the existing benchmark figures on the Deployment row are kept as they are.
Relation to #670
#670 also corrects the memory caution and the storage-engine section, but it was written against
0.7.0-beta.26, is unmerged, and conflicts with master since #674 published the benchmarks page; its rebase onto #674 is still pending (see the review on 2026-11-02).This PR supersedes #670's memory and storage-engine corrections only, rewritten for what 0.8.0 does. It is based on master, not on #670's branch, so it doesn't carry or wait on #670's benchmarks, sizing and disk-sizing changes, which stay with #670. When #670 is rebased, its memory caution, Memory row and Storage engine section can be dropped in favour of these (or reconciled with them); its other changes are untouched by this PR. I've left a comment on #670 saying the same.
Checks
cspellon the five changed files: clean (one pre-existing unknown word inoverview.mdx, line 590, not touched here).npm run links:relativeandnpm run paths:privatescripts: OK.#stalled-database(new),#disk,#resource-footprint,#storage-engine,#self-healing(existing). The fullnpm run build(hyperlink/anchor check) was not run locally; the Netlify preview build covers it.🤖 Generated with Claude Code