Skip to main content
READY FEDROOM DIAGNOSTICS // VIOLET TRIAGE HUD TARGET: SYNAPSE OOM | STATE_GROUPS_STATE | JEMALLOC | CONDUIT RUST
SynapseVsConduit
SynapseVsConduit Partner Notice: Outbound /go/ links marked rel="sponsored" may earn a referral fee at zero checkout surcharge (Disclosures).
Error Triage Hub (9)

Synapse SQLite Database Locked Errors Over 50 Active Users

Synapse explicitly warns against SQLite in production: concurrent federation writes and client syncs trigger writer lock timeouts above 20-50 users.

Failure Point: 20-50 active users | Error: database is locked

Synapse SQLite Database Locked Errors Over 50 Active Users
Telemetry verified 2026-11-16 by FedRoom Diagnostics.

Why Synapse SQLite Serializes Every Matrix Write Transaction

Unlike Conduit and Continuwuity which embed multi-threaded RocksDB LSM storage, Python Synapse treats SQLite strictly as a single-user test backend. Concurrent presence updates, read receipts, and inbound federation transactions collide on the SQLite file lock.

Choosing Between Postgres Migration or Rust Homeserver Switch

Once database is locked appears in homeserver.log, operators face two clean exits: run synapse_port_db into PostgreSQL initialized with LC_COLLATE=C, or migrate small teams under 150 users onto Continuwuity / Conduit Rust.

Measured Thresholds & Configuration

Database BackendConcurrent Write HandlingSafe User Ceiling
Synapse + SQLite3Single global write lock< 15 test users only
Synapse + PostgreSQL (C locale)MVCC row locking + workers50 - 5,000+ users
Continuwuity / Conduit + RocksDBEmbedded lock-free LSM compaction1 - 400+ users (< 250 MB RAM)
Failure Point: 20-50 active users | Error: database is locked Deploy Vultr HF 4 GBHostinger KVM 1 ($4.99/mo)