ES /docs

Elasticsearch connection pool exhaustion — concurrent bulk indexing

Service
cupixworks-worker
Occurrences
18,230
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
e95554ab-f082-45af-8cbf-0a122daf46ab
First Seen
2026-04-09 04:30 UTC
Last Seen
2026-08-04 21:36 UTC
Actions

Elasticsearch connection pool exhaustion — concurrent bulk indexing

What Happened#

2026-05-22 06:57~07:00 UTC에 cupixworks-worker(us-west-2)에서 Elasticsearch connection pool이 완전 고갈되어 Feed#_index_documentEditingSplitWorker#perform에서 연쇄적으로 실패가 발생했다. 동일 호스트에서 총 8건의 connection pool timeout 에러가 기록되었으며, 그 중 일부는 Sidekiq 재시도 소진 후 death handler에 도달했다.

Quick Facts#

Field Value
exception.class ConnectionPool::TimeoutError
exception.message Waited 7 sec, 0/10 available
top_frame connection_pool-2.5.0/lib/connection_pool/timed_stack.rb:78
runtime Ruby (Rails) / Sidekiq worker
deploy production-us-west-2-20260519T0920Z0-3e770a15-cupixworks
env production, us-west-2

Timeline#

  1. 06:54~06:57 UTC — 대량 indexing 작업 진행 (CreateSitetrackEditingEntitiesWorker, BulkPartialIndexWorker, bulk_partial_save_to_file)
  2. 06:57:46 UTC — EditingSplitWorker에서 최초 connection pool timeout 발생 (editing_id: 1115084, 1115090)
  3. 06:58:16~06:58:54 UTC — EditingSplitWorker 반복 실패, Sidekiq death handler 발동
  4. 06:59:32~06:59:58 UTC — Feed#_index_document에서도 동일 에러 발생 (이 클러스터의 대표 에러)

Scoring#

Confidence 85% · Actionability 28%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 17 code refs, 5 log queries
Code path explicitness 3/3 17 file:line refs
Log evidence 3/3 section, query, pattern
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 12 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