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)

Meta WA Cloud API Webhook Retry Queue Backlog & Duplicate Jobs

Expired Meta Cloud tokens, media download timeouts, and rate-limited template sends trigger exponential Sidekiq retries that flood Redis memory.

Backlog: > 10,000 retry jobs | Impact: Delayed inbound messages

Meta WA Cloud API Webhook Retry Queue Backlog & Duplicate Jobs
Telemetry verified 2026-10-31 by SidekiqHeap Triage.

How Failed Media Downloads & Token 401s Snowball Retries

Every inbound Meta Cloud webhook with voice notes or video triggers an asynchronous media fetch from Graph API endpoints before attaching to ActiveStorage. If outbound TLS stalls or an expired token returns HTTP 401, Sidekiq schedules up to 25 exponential retries per message.

Auditing Sidekiq RetrySet Size Before Redis OOM

Check Sidekiq::RetrySet.new.size and filter by Webhooks::WhatsappEventsJob or SendReplyJob. Thousands of serialized JSON payloads in the retry zset consume hundreds of megabytes of Redis RAM and replay storms on worker restart.

Measured Thresholds & Configuration

Failure ModeSidekiq Retry BehaviorTriage Action
Expired Graph API Token (401)25 retries over 21 daysAlert on 401 + purge stale retry set
Slow media download timeoutBlocks default worker threadsMove media fetch to dedicated pod
Burst webhook duplicate deliveryRedundant DB conversation locksIdempotency + split critical queue
Backlog: > 10,000 retry jobs | Impact: Delayed inbound messages Deploy Hostinger KVM 4Vultr Cloud 8 GB ($40/mo)