Matrix Synapse Python OOM & State Bloat vs Continuwuity / Conduit Rust
Stop Matrix Synapse Python OOM crashes during large federated room joins, shrink multi-gigabyte state_groups_state Postgres tables, and compare tuned jemalloc Synapse against single-binary Continuwuity / Conduit Rust (< 250 MB RAM). Export copy-ready conduit.toml & homeserver.yaml for $4.99–$24/mo self-hosted nodes vs $7.25/seat/mo Slack Pro.
Matrix Synapse OOM vs Continuwuity / Conduit Rust Capacity Triage
Select your failure symptom, homeserver engine (Continuwuity / Conduit Rust vs Synapse Python), active users, joined federated rooms, max room complexity, allocator (jemalloc + global_factor), database backend, and media retention to size RAM, Postgres/RocksDB disk, Slack Pro savings, and export live homeserver.yaml + conduit.toml.
| Matrix Subsystem | Computed Footprint |
|---|---|
| Steady Homeserver RSS | -- |
Triage runbook summary ready.
Matrix Homeserver VPS Rate Matrix vs Slack Pro $7.25/seat/mo (2026-11-16)
High-clock Vultr High Frequency NVMe nodes ($12–$48/mo flat) vs Hostinger KVM 1–2 ($4.99–$6.99/mo promo) for Continuwuity / Conduit Rust (< 250 MB RAM) and tuned Synapse + PostgreSQL stacks.
| Provider & Tier | CPU, RAM & NVMe | Intro Rate | Renewal | Isolation & Transfer | Matrix Fleet Fit | Provision |
|---|---|---|---|---|---|---|
| Hostinger KVM 1 1 vCPU / 4 GB RAM / 50 GB NVMe |
1 vCPU · 4 GB RAM · 50 GB NVMe | $4.99/mo | $9.99/mo | KVM Dedicated RAM · Unlimited Bandwidth Cap 4 TB | Continuwuity / Conduit Rust (< 250 MB RSS) up to 120 users | Deploy Hostinger KVM |
| Hostinger KVM 2 2 vCPU / 8 GB RAM / 100 GB NVMe |
2 vCPU · 8 GB RAM · 100 GB NVMe | $6.99/mo | $13.99/mo | KVM Dedicated RAM · 8 TB Monthly Transfer | Tuned Synapse + jemalloc + Postgres + Coturn (50-250 users) | Deploy Hostinger KVM |
| Vultr High Frequency 2 GB 1 vCPU (3.8+ GHz) / 2 GB RAM / 64 GB NVMe |
1 vCPU High-Clock · 2 GB RAM · 64 GB NVMe | $12.00/mo | $12.00/mo | Hourly Billing · 32 Global Edge Regions | Ultra-low-latency Continuwuity / Conduit Rust team server | Deploy Vultr HF |
| Vultr High Frequency 4 GB 2 vCPU (3.8+ GHz) / 4 GB RAM / 128 GB NVMe |
2 vCPU High-Clock · 4 GB RAM · 128 GB NVMe | $24.00/mo | $24.00/mo | High-Clock Federation Crypto + Fast NVMe IOPS | Synapse + Postgres + Sliding Sync (30-150 users) | Deploy Vultr HF |
| Vultr High Frequency 8 GB 3 vCPU (3.8+ GHz) / 8 GB RAM / 256 GB NVMe |
3 vCPU High-Clock · 8 GB RAM · 256 GB NVMe | $48.00/mo | $48.00/mo | Sustained NVMe Write IOPS · Zero Promo Renewal Jump | Synapse Worker Pool + LiveKit SFU + Element Call (150-500 users) | Deploy Vultr HF |
Active Matrix Synapse & Federation Error Triage Guides
Synapse Python OOM When Joining Large Federated Rooms
Joining a single large federated room forces Synapse Python to fetch and resolve thousands of state events in memory, spiking RSS past 2-4 GB.
Postgres state_groups_state Table Disk & IOPS Bloat
Uncompressed state_groups_state rows duplicate room membership snapshots on every state transition, inflating Postgres tables to 20-90 GB.
Missing jemalloc Causing glibc Arena Memory Retention
Without LD_PRELOAD=libjemalloc.so.2, glibc ptmalloc2 fragments Python Synapse heap arenas and holds 40-60% dead RAM permanently.
Federation Sender Queue Timeout & Exponential Backoff Lag
Offline remote homeservers force outbound federation retries into exponential backoff, stalling delivery and piling pending PDUs in RAM.
Browse all 9 Error Triage Guides →
Verified State Compression, jemalloc & Rust Migration Fixes
Migrate a Small Team From Synapse Python to Continuwuity / Conduit Rust
Replacing Python Synapse + PostgreSQL with a single Continuwuity / Conduit Rust binary drops idle and active RAM under 250 MB with zero worker tuning.
Run rust-synapse-compress-state Weekly Cron to Shrink Postgres
Automated weekly state compression deduplicates redundant room state trees in Postgres without taking your Synapse homeserver offline.
Set Synapse caches.global_factor to 0.5 and Tune per_cache_factors
Lowering caches.global_factor from 1.0 to 0.5 (or 0.25 on 2 GB hosts) slashes Synapse Python heap usage by 35-50% with minimal cache miss penalty.
Purge Stale Remote Media & Old Room History via Admin API
Automated media_retention rules and Admin API history purges keep media_store under 10 GB on modest 50-128 GB VPS disks.
Browse all 9 Remediation Runbooks →
Public Matrix Homeserver VPS Rate Ledger (2026-11-16) — Triage Home
| Provider & Plan | Spec | Intro Rate | Renewal | Isolation & Network | Matrix Fit | Link |
|---|---|---|---|---|---|---|
| Hostinger KVM 1 — 1 vCPU / 4 GB RAM / 50 GB NVMe | 1 vCPU · 4 GB RAM · 50 GB NVMe | $4.99/mo | $9.99/mo | KVM Dedicated RAM · Unlimited Bandwidth Cap 4 TB | Continuwuity / Conduit Rust (< 250 MB RSS) up to 120 users | Open Hostinger KVM 1 |
| Hostinger KVM 2 — 2 vCPU / 8 GB RAM / 100 GB NVMe | 2 vCPU · 8 GB RAM · 100 GB NVMe | $6.99/mo | $13.99/mo | KVM Dedicated RAM · 8 TB Monthly Transfer | Tuned Synapse + jemalloc + Postgres + Coturn (50-250 users) | Open Hostinger KVM 2 |
| Vultr High Frequency 2 GB — 1 vCPU (3.8+ GHz) / 2 GB RAM / 64 GB NVMe | 1 vCPU High-Clock · 2 GB RAM · 64 GB NVMe | $12.00/mo | $12.00/mo | Hourly Billing · 32 Global Edge Regions | Ultra-low-latency Continuwuity / Conduit Rust team server | Open Vultr High Frequency 2 GB |
| Vultr High Frequency 4 GB — 2 vCPU (3.8+ GHz) / 4 GB RAM / 128 GB NVMe | 2 vCPU High-Clock · 4 GB RAM · 128 GB NVMe | $24.00/mo | $24.00/mo | High-Clock Federation Crypto + Fast NVMe IOPS | Synapse + Postgres + Sliding Sync (30-150 users) | Open Vultr High Frequency 4 GB |
| Vultr High Frequency 8 GB — 3 vCPU (3.8+ GHz) / 8 GB RAM / 256 GB NVMe | 3 vCPU High-Clock · 8 GB RAM · 256 GB NVMe | $48.00/mo | $48.00/mo | Sustained NVMe Write IOPS · Zero Promo Renewal Jump | Synapse Worker Pool + LiveKit SFU + Element Call (150-500 users) | Open Vultr High Frequency 8 GB |
Tariffs verified 2026-11-16 by FedRoom Diagnostics. Vultr High Frequency uses flat hourly-capped billing; Hostinger KVM reflects intro vs renewal terms.
- Vultr High Frequency Compute Pricing — High Frequency 2 GB ($12.00/mo), 4 GB ($24.00/mo), and 8 GB ($48.00/mo) flat hourly-capped tariffs verified 2026-11-16.
- Hostinger KVM VPS Plans — KVM 1 ($4.99/mo promo, $9.99/mo renewal) and KVM 2 ($6.99/mo promo, $13.99/mo renewal) verified 2026-11-16.
- Matrix Synapse & Continuwuity / Conduit Documentation — caches.global_factor, limit_remote_rooms.complexity, jemalloc LD_PRELOAD, rust-synapse-compress-state, and RocksDB behavior verified 2026-11-16.
- Slack Paid Workspace Seat Pricing — Slack Pro ($7.25/user/mo annual, $8.75/user/mo monthly) and Business+ ($12.50+/user/mo) seat pricing verified 2026-11-16.