Skip to main content
READY SIDEKIQHEAP TRIAGE // AMBER TRIAGE HUD TARGET: PUMA + SIDEKIQ JEMALLOC | REDIS NOEVICTION | INTERCOM EXIT
ChatwootQueues
ChatwootQueues Partner Notice: Outbound /go/ links marked rel="sponsored" may earn a referral fee at zero checkout surcharge (Disclosures).
Error Triage Hub (9)

Redis maxmemory Eviction Dropping Sidekiq Jobs & Agent Sessions

Using allkeys-lru on a shared Chatwoot Redis instance evicts live Sidekiq queue keys and Devise session tokens whenever retry sets fill memory.

Policy Error: allkeys-lru on Queues | Required: noeviction

Redis maxmemory Eviction Dropping Sidekiq Jobs & Agent Sessions
Telemetry verified 2026-10-31 by SidekiqHeap Triage.

Why Cache Eviction Policies Corrupt Sidekiq Queues

Managed or default cache Redis presets often ship with maxmemory-policy allkeys-lru. When a Sidekiq retry backlog fills Redis memory, Redis silently deletes older queue lists, scheduled jobs, or agent login sessions to make room for new writes.

Verifying evicted_keys and Split Redis Strategy

Run redis-cli INFO stats | grep evicted_keys. Any value above 0 on a Chatwoot queue Redis means background jobs were permanently destroyed. Configure noeviction for queue/state Redis and raise maxmemory safely.

Measured Thresholds & Configuration

Redis Keyspace RoleWrong PolicyRequired Policy
Sidekiq Queues & Retriesallkeys-lru (drops jobs)noeviction + bounded retry TTL
ActionCable Pub/Sub & Sessionsvolatile-lru under tight capDedicated headroom + noeviction
Rails Fragment Cache (Optional)noeviction (crashes writes)Separate Redis DB with allkeys-lru
Policy Error: allkeys-lru on Queues | Required: noeviction Deploy Hostinger KVM 4Vultr Cloud 8 GB ($40/mo)