fix: make the database disk image 6 GB instead of 2 GB #15

Merged
igor merged 1 commits from fix/db-volume-6gb into main 2026-10-14 12:47:08 +00:00
Owner
  • VOLUMES["db"] goes from 2048 to 6144 MiB. Instance 4 filled its 2 GB image with analytics logs on 2026-10-14 and Postgres could not finish crash recovery; instance 2 had already been grown to 6 GB by hand.
  • Measured on instance 2: about 1.2 GB of logs a day under browser-test traffic, kept for 2 days, plus up to 1 GB of write-ahead log: a peak near 4.5 GB.
  • Only instances created after this get the larger image.
  • README disk line, two unit tests and the version (1.6.3 -> 1.6.4 in VERSION, supaspin, README.md) updated.

🤖 Generated with Claude Code

- `VOLUMES["db"]` goes from 2048 to 6144 MiB. Instance 4 filled its 2 GB image with analytics logs on 2026-10-14 and Postgres could not finish crash recovery; instance 2 had already been grown to 6 GB by hand. - Measured on instance 2: about 1.2 GB of logs a day under browser-test traffic, kept for 2 days, plus up to 1 GB of write-ahead log: a peak near 4.5 GB. - Only instances created after this get the larger image. - README disk line, two unit tests and the version (1.6.3 -> 1.6.4 in `VERSION`, `supaspin`, `README.md`) updated. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
igor added 1 commit 2026-10-14 12:47:01 +00:00
- VOLUMES["db"] goes from 2048 to 6144 MiB, so every new instance gets a 6 GB database image.
  Instance 4 filled its 2 GB image with analytics logs on 2026-10-14: Postgres crashed and could
  not finish crash recovery without free space. Instance 2 had already been grown to 6 GB by hand.
- Measured on instance 2: about 1.2 GB of logs a day under browser-test traffic, kept for
  LOG_RETENTION (2 days), plus up to 1 GB of write-ahead log. That peaks near 4.5 GB.
- Only instances created after this change get the larger image; existing ones keep their size.
- README disk line, the two unit tests that assert the db volume size, and the version
  (1.6.3 -> 1.6.4 in VERSION, supaspin and README.md) are updated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
igor merged commit e2afacb5fc into main 2026-10-14 12:47:08 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: public/supaspin#15