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)

SMTP Email Channel & IMAP Sync Stall Blocking Sidekiq

Slow IMAP mailboxes and unresponsive SMTP relays hold Sidekiq worker threads open for 30-120 seconds, starving critical live chat jobs.

Thread Hold: 30-120s per IMAP/SMTP hang | Queue: mailers & scheduled

SMTP Email Channel & IMAP Sync Stall Blocking Sidekiq
Telemetry verified 2026-10-31 by SidekiqHeap Triage.

How Blocking IMAP Fetches Freeze Live Messaging

When Chatwoot runs a single Sidekiq container across all queues, 10-15 concurrent IMAP folder scans or TLS SMTP handshake retries can occupy every available Sidekiq thread. Live webhook replies sit untouched in Redis until mail sockets time out.

Spotting Mailer Queue Backups in Sidekiq Metrics

Inspect Sidekiq busy workers and queue latency for Mailers::* and Inboxes::FetchImapEmailsJob. If busy threads stay pinned at 100% while CPU usage sits near 5%, network I/O wait inside mail jobs is blocking the pool.

Measured Thresholds & Configuration

Job ClassI/O Hang PatternIsolation Fix
FetchImapEmailsJobLarge unread mailbox > 50k msgsDedicated low/mailers Sidekiq pod
ConversationReplyMailerGreylisted or throttled SMTP relayCap retries + transactional relay
Critical live webhooksDelayed 3-15 min behind mailersPriority queue critical,6 high,4
Thread Hold: 30-120s per IMAP/SMTP hang | Queue: mailers & scheduled Deploy Hostinger KVM 4Vultr Cloud 8 GB ($40/mo)