Error Triage Hub (9)
Matrix Media Repository & Remote URL Preview NVMe Surge
Federated rooms cache remote images, video clips, and OpenGraph URL previews indefinitely unless admin retention purge jobs run.
Disk Growth: 5-35 GB/mo on active rooms | Path: media_store
Why Remote Media Accumulates Faster Than Local Uploads
Every time a local user scrolls through a federated room, your homeserver downloads and caches remote media and thumbnails into media_store/remote_content. With url_preview_enabled: true, Synapse also fetches and thumbnails third-party web pages on every pasted link.
Auditing Remote Media vs Local Media Directories
Run du -sh /data/media_store/* to separate local_content from remote_content and remote_thumbnail. Setting remote_media_lifetime in homeserver.yaml or scheduling purge_remote_media caps NVMe growth safely.
Measured Thresholds & Configuration
| Media Retention Policy | 90-Day NVMe Usage (50 Rooms) | Safe VPS Disk |
|---|---|---|
| Unbounded + URL Previews On | 35 - 110 GB | 160+ GB NVMe required |
| 30d Remote Purge + Previews Off | 6 - 14 GB | 50 - 64 GB NVMe sufficient |
| 7d Remote Purge (Continuwuity) | 2.5 - 6 GB | 50 GB Hostinger KVM 1 |