Chatwoot Sidekiq jemalloc Leak, Queue Backlog & Intercom Exit HUD
Eliminate Ruby glibc malloc arena bloat, Puma worker SIGKILL 137 webhook crashes, Redis allkeys-lru job drops, and PostgreSQL notifications bloat. Size exact RAM and export copy-ready docker-compose.yml + sidekiq.yml for $4.79–$9.99/mo KVM nodes vs $74+/seat Intercom plans.
Chatwoot Ruby jemalloc Memory Leak, Queue Backlog & Intercom Exit HUD
Select your active failure symptom, online agents (5–150), daily messages/webhooks, Ruby allocator (jemalloc vs glibc), Sidekiq concurrency, Puma workers, and Captain AI search stack to calculate real RSS, OOM 137 risk, Intercom savings, and export copy-ready docker-compose.yml + sidekiq.yml.
| Chatwoot Subsystem | Computed Telemetry |
|---|---|
| Puma + Sidekiq RSS | -- |
Triage runbook summary ready.
Chatwoot KVM VPS Matrix vs Intercom $74+/seat/mo (2026-10-31)
Intro vs renewal pricing for Hostinger KVM 2 / KVM 4 (8–16 GB RAM with LD_PRELOAD jemalloc headroom) and Vultr Cloud / High Frequency nodes vs per-seat SaaS bills.
| Provider & Tier | CPU & RAM Spec | Intro Price | Renewal | Transfer & Isolation | Chatwoot Workload Fit | Provision |
|---|---|---|---|---|---|---|
| Hostinger KVM 2 KVM 2 (2 vCPU EPYC / 8 GB RAM / 100 GB NVMe) |
2 vCPU EPYC · 8 GB RAM · 100 GB NVMe | $4.79/mo | $7.99/mo | 16 TB Transfer · jemalloc 8 GB Safe Floor | 5-25 agents · 10k-45k msgs/day · Core Chatwoot + pgvector | Deploy Hostinger KVM |
| Hostinger KVM 4 KVM 4 (4 vCPU EPYC / 16 GB RAM / 200 GB NVMe) |
4 vCPU EPYC · 16 GB RAM · 200 GB NVMe | $9.99/mo | $15.99/mo | 16 TB Transfer · Split Sidekiq Pods + PgBouncer | 25-85 agents · 45k-200k msgs/day · Intercom exit production node | Deploy Hostinger KVM |
| Vultr Cloud Compute 8 GB Regular Cloud (4 vCPU / 8 GB RAM / 160 GB NVMe) |
4 vCPU · 8 GB RAM · 160 GB NVMe | $40.00/mo | $40.00/mo | Hourly Billing · 32 Global Edge PoPs | 15-40 agents · Low-RTT regional ActionCable WebSocket hub | Deploy Vultr Cloud |
| Vultr High Frequency 16 GB High Frequency (4 vCPU 3.8+ GHz / 16 GB RAM / 320 GB NVMe) |
4 vCPU High-Clock · 16 GB RAM · 320 GB NVMe | $96.00/mo | $96.00/mo | Fast NVMe WAL + Dedicated Webhook Burst IOPS | 50-120 agents · Heavy webhook concurrency & vacuum throughput | Deploy Vultr Cloud |
libjemalloc.so.2 inside Chatwoot Puma and Sidekiq containers prevents glibc 64 MB per-thread arena fragmentation and cuts peak RSS by 40–58%.Active Sidekiq, Puma & PostgreSQL Error Triage Guides
Sidekiq Ruby glibc malloc Arena Bloat & Unbounded RSS Creep
Multi-threaded Ruby Sidekiq allocates separate 64 MB glibc arenas per thread and retains fragmented pages indefinitely without LD_PRELOAD jemalloc.
Puma Worker SIGKILL 137 During Inbound Webhook Storms
Forked Puma workers duplicate Ruby copy-on-write pages over time and hit Linux cgroup OOM killers (exit 137) during webhook bursts.
ActionCable WebSocket Drops & Redis File Descriptor Exhaustion
Each open agent tab and widget session holds a persistent ActionCable socket backed by Redis pub/sub, exhausting default 1024 ulimit FDs or proxy timeouts.
PostgreSQL notifications Table & Index Bloat Slowing Inboxes
Chatwoot appends rows to notifications and reporting_events for every message event; unpruned tables grow past 20-60 GB and thrash PostgreSQL shared_buffers.
Browse all 9 Error Triage Guides →
Verified jemalloc, Queue Split & PgBouncer Runbooks
Enable jemalloc via LD_PRELOAD on Chatwoot Puma & Sidekiq
Preloading libjemalloc.so.2 replaces glibc ptmalloc2 in official Chatwoot Docker images, flattening Sidekiq and Puma RSS plateaus.
Tune MALLOC_ARENA_MAX=2 & Ruby GC Slots When Using glibc
If custom base images lack libjemalloc, setting MALLOC_ARENA_MAX=2 prevents 8x core arena multiplication across Sidekiq worker threads.
Cap SIDEKIQ_CONCURRENCY & Enforce Deterministic Queue Weights
Oversized SIDEKIQ_CONCURRENCY=25-50 multiplies ActiveRecord connection demand and Ruby heap fragmentation on single-VPS Chatwoot stacks.
Prune Old Chatwoot Notifications & Vacuum PostgreSQL Indexes
Batch-pruning notifications older than 60-90 days keeps PostgreSQL working sets inside host RAM and eliminates inbox query stalls.
Browse all 9 Remediation Runbooks →
Public Chatwoot KVM & Cloud Rate Ledger (2026-10-31) — Triage Home
| Provider & Plan | Spec | Intro Rate | Renewal | Isolation | Chatwoot Fit | Link |
|---|---|---|---|---|---|---|
| Hostinger KVM 2 — KVM 2 (2 vCPU EPYC / 8 GB RAM / 100 GB NVMe) | 2 vCPU EPYC · 8 GB RAM · 100 GB NVMe | $4.79/mo | $7.99/mo | 16 TB Transfer · jemalloc 8 GB Safe Floor | 5-25 agents · 10k-45k msgs/day · Core Chatwoot + pgvector | Open Hostinger KVM 2 |
| Hostinger KVM 4 — KVM 4 (4 vCPU EPYC / 16 GB RAM / 200 GB NVMe) | 4 vCPU EPYC · 16 GB RAM · 200 GB NVMe | $9.99/mo | $15.99/mo | 16 TB Transfer · Split Sidekiq Pods + PgBouncer | 25-85 agents · 45k-200k msgs/day · Intercom exit production node | Open Hostinger KVM 4 |
| Vultr Cloud Compute 8 GB — Regular Cloud (4 vCPU / 8 GB RAM / 160 GB NVMe) | 4 vCPU · 8 GB RAM · 160 GB NVMe | $40.00/mo | $40.00/mo | Hourly Billing · 32 Global Edge PoPs | 15-40 agents · Low-RTT regional ActionCable WebSocket hub | Open Vultr Cloud Compute 8 GB |
| Vultr High Frequency 16 GB — High Frequency (4 vCPU 3.8+ GHz / 16 GB RAM / 320 GB NVMe) | 4 vCPU High-Clock · 16 GB RAM · 320 GB NVMe | $96.00/mo | $96.00/mo | Fast NVMe WAL + Dedicated Webhook Burst IOPS | 50-120 agents · Heavy webhook concurrency & vacuum throughput | Open Vultr High Frequency 16 GB |
Tariffs verified 2026-10-31 by SidekiqHeap Triage. Introductory and standard renewal prices are displayed side by side.
- Hostinger KVM VPS Plans — KVM 2 (8 GB RAM, $4.79/mo intro, $7.99/mo renew) and KVM 4 (16 GB RAM, $9.99/mo intro, $15.99/mo renew) verified 2026-10-31.
- Vultr Cloud & High Frequency Compute — Cloud Compute 8 GB ($40.00/mo) and High Frequency 16 GB ($96.00/mo) flat hourly-capped rate cards verified 2026-10-31.
- Intercom Public Seat Pricing — Intercom Advanced ($85/seat/mo monthly or $74/seat/mo annual baseline + $0.99/Fin AI resolution) verified 2026-10-31.
- Chatwoot Self-Hosted Documentation — Official Rails Puma, Sidekiq worker separation, PostgreSQL pgvector, Redis persistence, and ActionCable environment flags verified 2026-10-31.