ES /docs

ConnectionPool::TimeoutError: Waited 5 sec, 0/5 available

Service
cupixworks-api
Occurrences
7,599
Status
Reported
Confidence
80%
Actionability
28%
Cluster ID
539ca8d2-a118-49d4-9d01-c0ce4bf94057
First Seen
2025-06-16 14:21 UTC
Last Seen
2026-07-18 12:57 UTC
Actions

ConnectionPool::TimeoutError: Waited 5 sec, 0/5 available

What Happened#

cupixworks-api (tesla Rails/Puma web process) 에서 Sidekiq client 의 Redis connection pool 이 소진되어 ConnectionPool::TimeoutError: Waited 5 sec, 0/5 available 가 발생했다. Error Tracking 기준 2025-06-16 최초 발생 후 2026-07-18 까지 13개월간 7599건이 누적된 만성 저빈도 조건이다. 풀 크기 5, checkout timeout 5초로, Redis 지연이 튀는 순간 Puma 스레드가 5초를 대기하다 예외를 던지는 패턴이다.

Quick Facts#

Field Value
exception.class ConnectionPool::TimeoutError
exception.message Waited 5 sec, 0/5 available
runtime Ruby / Rails (Puma), Sidekiq 7.3.9, redis 4.8.1, connection_pool 2.5.0
env production (cupixworks-api web process)

Affected Teams#

Team / Domain Error Count Impact
cupixworks-api 7599 (13개월 누적) Redis 지연 스파이크 시 job enqueue 를 포함한 요청이 5초 대기 후 실패

영향은 개별 HTTP 요청 단위이며, 풀 소진이 해소되면 자동 복구된다.

Timeline#

  1. 2025-06-16 23:21 KST — Error Tracking 최초 발생 (first_seen, representative sample).
  2. 2026-07-18 21:57 KST — 최근 발생 (last_seen). 이후 14일 retention 창 밖.
  3. 2026-08-04 (RCA) — 코드 분석 완료. Datadog 로그는 retention 창(now-14d) 내 매칭 0건.

Scoring#

Confidence 80% · Actionability 28%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 10 code refs, 5 log queries
Code path explicitness 3/3 10 file:line refs
Log evidence 2/3 section, query
RCA structure 3/3 3/3 sections
Revision history 0/3 0 revision(s)
Agent execution 3/3 success

Actionability#

Dimension Score Detail
Fix complexity 1/5 critical
Affected files 1/5 14 file(s)
Single repo 1/3 3 service(s)
Immediate actions 0/3 absent
Testability 0/3 no test info
External dependency 1/3 external deps found
Data migration 3/3 no migration