OpenClaw operations guide
OpenClaw SQLite WAL checkpoint blocked by a reader
A reader that stays open after a query finishes can block an OpenClaw SQLite WAL checkpoint. Compare checkpointed frames with total frames in the Gateway warning. Once you identify the reader holding the checkpoint open, have its owner close it normally. Keep the live WAL in place and verify that the warning clears.
Last updated · Published
By CWYN · Nov 27, 2026 · Checked against docs, not run · OpenClaw v2026.11.5 WAL recovery reference
1. Find the database and the checkpoint warning
Run openclaw status --deep against the intended profile and check Gateway logs for the warning time and database role. Record free space on that volume and, where you have read access, the database and WAL sizes. The storage integrity reference explains the warning and when a later checkpoint clears it.
2. Read checkpoint progress before acting on file size
Fewer checkpointed frames than total frames means the checkpoint is incomplete, even if it reports busy=0. A large file alone does not establish a blocked checkpoint. Keep the main database and sidecars together. The live write-ahead log can still hold committed changes that SQLite has yet to copy into the main database.
3. Look for a reader that outlived its work
Check the reported reader age and idle time and correlate it with history reads, exports, or other database clients in the same window. An absent reader list leaves the blocker unidentified. Separate incomplete checkpoints from slow writer transactions. This community incident illustrates how multiple lock symptoms can appear together.
4. Release a confirmed reader through its owner
If a known report or external reader is finished, have its owner close it normally and watch the next maintenance pass. When an OpenClaw-owned reader is implicated, compare the affected build and operation with the stable release notes, which list cleanup for completed SQLite readers. If pressure is urgent, preserve a verified backup and use the supported recovery procedure for that build.
5. Verify a completed checkpoint and recent state
After the intervention, look for a completed checkpoint and confirm the warning clears. Verify headroom remains stable under comparable work and check that a known recent conversation or job result is still readable. If checkpoint errors persist or disk space continues to fall, hand the owner the timestamps, database role, reader evidence, and backup status.
Get your free CWYN Score to choose your next setup improvement.