Rack::Multipart::MultipartPartLimitError: Too many open files - Maximum file multiparts in content reached
Service
cupixworks-api
Occurrences
31
Status
Reported
Confidence
80%
Actionability
44%
Cluster ID
334790b3-769f-4f82-96e5-42da23303a06
First Seen
2025-08-31 05:50 UTC
Last Seen
2026-08-05 07:34 UTC
Actions
Rack::Multipart::MultipartPartLimitError: Too many open files - Maximum file multiparts in content reached
What Happened#
cupixworks-api (tesla) 에서 Rack::Multipart::MultipartPartLimitError: Too many open files - Maximum file multiparts in content reached 가 산발적으로 발생했다. 이는 하나의 multipart/form-data 요청에 Rack 의 파일 part 한도(기본 128)를 초과하는 file part 가 담겨 있을 때 Rack 이 body 파싱 단계에서 raise 하는 예외다. ~11개월 동안 31건으로 매우 낮은 빈도이며, tesla 는 실제 파일 업로드를 모두 S3 presigned URL 로 처리하므로 정상 애플리케이션 흐름에서 128개 이상의 file part 를 전송하는 경로가 없다.
Quick Facts#
| Field | Value |
|---|---|
| exception.class | Rack::Multipart::MultipartPartLimitError |
| exception.message | Too many open files - Maximum file multiparts in content reached |
| exception.parent | Errno::EMFILE < SystemCallError < StandardError |
| top_frame | rack/multipart/parser.rb (Rack 2.2.13, gem 내부) |
| runtime | Ruby on Rails (tesla), Rack 2.2.13 |
| env | production/dev (ET 집계, 로그 미검색 — 아래 참조) |
Affected Teams#
에러가 Rack middleware 계층(컨트롤러 진입 전)에서 발생하여 애플리케이션 로그/APM span 에 남지 않아 team domain 별 분해가 불가능하다. 영향 범위는 "비정상 multipart 요청을 보낸 클라이언트" 로 한정된다.
Timeline#
- 2025-08-31 14:50 KST — 최초 발생 (
first_seen) - 2026-08-05 16:34 KST — 최근 발생 (
last_seen), 누적 31건 - 2026-08-05 — RCA 수행
Scoring#
Confidence 80% · Actionability 44%
Confidence#
| Dimension | Score | Detail |
|---|---|---|
| Evidence completeness | 5/5 | 6 code refs, 10 log queries |
| Code path explicitness | 3/3 | 6 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 | 5/5 | trivial |
| Affected files | 1/5 | 12 file(s) |
| Single repo | 1/3 | 4 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 |