Error Diagnostics // TraceLite Bench
Sentry Self-Hosted ClickHouse & Kafka 16 GB OOM Crash
Self-hosted Sentry boots 20+ containers including ClickHouse, Kafka, ZooKeeper, Snuba, Relay, and Symbolicator—consuming 15.4 to 28.5 GB RSS even at low traffic.
Measured GlitchTip & Sentry Telemetry
TraceLite Bench dmesg traces show ClickHouse merge threads and Kafka JVM heaps consume >11 GB before Relay or Symbolicator ingest a single production spike. On 4-12 GB nodes, Linux OOM killer terminates clickhouse-server or snuba-consumer mid-query. Migrating to GlitchTip drops ClickHouse and Kafka altogether.
| Subsystem / Signal | Measured Footprint | Operational Impact |
|---|---|---|
| Sentry Self-Hosted Idle RSS | 15.4 - 19.2 GB | Exceeds 8 GB and 12 GB VPS immediately |
| Sentry During 5M Event Spike | 22.0 - 32.0 GB | Requires 32 GB node or suffers Exit 137 |
| Lean GlitchTip Equivalent RSS | 1.8 - 4.2 GB | Django + Celery + PG 16 + Redis 7 only |
Step-by-Step Triage & Compose Remediation
- Confirm OOM victim in dmesg: Run dmesg -T | grep -i -E "killed process|oom" to verify ClickHouse or Snuba SIGKILL events.
- Export active Sentry project DSNs: List client keys before tearing down the 20+ container Sentry compose stack.
- Deploy GlitchTip on 2-4 GB VPS: Provision Vultr HF 4 GB ($24/mo) or Hostinger KVM 1 ($4.99/mo) and point existing Sentry SDKs to GlitchTip.
dmesg -T | grep -i -E "oom-killer|killed process"
docker stats --no-stream --format "table {{.Name}} {{.MemUsage}}"
# Sentry baseline: 16-32 GB | GlitchTip lean stack: 1.8-6.5 GB
Diagnostic FAQ
Can you run official Sentry self-hosted reliably on 8 GB RAM?
No. Even with aggressive swap, ClickHouse, Kafka, and Snuba trigger severe disk thrashing and OOM kills below 16 GB physical RAM.
Do I have to rewrite application SDK code to switch to GlitchTip?
No. GlitchTip implements the Sentry ingest API, so you only replace the SENTRY_DSN string.