Sprite is killed 60–190s into sustained heavy IO (pg_restore of an ~900MB dump): root overlay unmounts, all processes SIGKILLed
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- postgresql
- Lĩnh vực
- databases, documentation, infrastructure
Hướng nghiên cứu
Bắt đầu với tài liệu về vòng đời, sau đó sử dụng org được cung cấp, tên các sprite và khoảng thời gian 2026-08-24 để đối chiếu log của nền tảng với việc unmount và remount overlay. Tái hiện workload pg_restore kéo dài và ghi lại giới hạn tải ghi hoặc hành vi đã được xác nhận, bao gồm workaround hiện tại và việc các quan sát về Tasks API và lỗi hỏng /tmp có thuộc về các issue riêng hay không.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Symptom
Restoring an 884 MB pg_restore custom-format dump into on-sprite Postgres gets the sprite hard-killed 60–190 s in, every time: every process is SIGKILLed, the exec stream dies (local CLI exit 137, or websocket: close 1006 (abnormal closure)), and the guest's dmesg shows the root overlay being unmounted and remounted while VM uptime is preserved:
EXT4-fs warning (device loop1): ext4_convert_unwritten_extents_endio:...
EXT4-fs (loop1): unmounting filesystem <uuid>.
loop1: detected capacity change from 0 to 209715200
EXT4-fs (loop1): mounted filesystem <uuid> r/w with ordered data mode.
No guest OOM (8 GB total, several GB available throughout; cgroup memory.max = max). Reproduced 9/9 attempts across two different sprites, including a freshly created one. Org carl-fyffe-210, sprites ch-01 and www-01, 2026-08-24 00:30–02:15 UTC, if that helps you correlate platform logs.
Repro
sprite create test; sprite exec→ apt install postgresql + postgresql-18-pgvector, trust local connections.- Put a ~900 MB pg_dump custom-format dump on the sprite (the S3 download itself is fine — 884 MB to /tmp in 15 s).
createdb x && pg_restore -d x --no-owner --no-acl /tmp/dump→ killed 60–190 s in, per above.
The same dump restores cleanly on a laptop in 5:45, so the workload itself is ordinary — roughly 6 minutes of sustained mixed Postgres writes (heap + WAL, checkpoints every ~10 s at ~500 MB WAL distance).
Ruled out
Killed identically under: plain exec, exec --tty, nohup-detached (no exec session at all), a Tasks-API hold, fsync=off + synchronous_commit=off + full_page_writes=off, max_wal_size=8GB (no checkpoint storm), input throttled to 8 MB/s, and a sync && drop_caches sidecar. So it is not idle-pause, not an exec-session limit, and apparently not guest memory or raw write rate.
Controls that pass on the same sprites: 884 MB HTTP download to /tmp (15 s), a single 1.5 GB dd conv=fsync burst to the overlay at 154 MB/s, and 2.5 min of paced 64 MB dd conv=fsync chunks with sleeps. Only the sustained multi-minute restore pattern dies.
Working workaround
Chunking the restore — schema in one pass, then each TOC data item and each post-data item via pg_restore -L with settle sleeps between — completed with zero kills and a byte-equivalent result. It works, but it turns a 6-minute restore into hours, and the failure mode (silent SIGKILL of everything, half-restored database) is rough to discover.
Questions
- Is there a documented limit on sustained overlay write load that kills the sprite? If deliberate, the lifecycle docs should state it — the current docs only describe idle-based pausing.
- Two secondary observations from the same investigation, happy to split into separate issues: the Tasks API accepts a
commandfield but never executes it (only the name+expire lease works), and after one of these kills a sprite's/tmpcame back with EBADMSG corruption until destroyed.
- Ngôn ngữ chính
- MDX
- Star
- 53
- Fork
- 5
- Merge trung bình
- 1 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 4
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của superfly/sprites-docs
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
superfly/sprites-docs#226 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
superfly/sprites-docs#220 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add S3 Object Store, Anthropic, and Discourse to the connectors Providers tableCó thể làm lại được @kcmartin đã nhận 85 ngày trước và không có pull request nào đang mở. Đang mở
superfly/sprites-docs#237 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
superfly/sprites-docs#231 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
superfly/sprites-docs#230 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của superfly/sprites-docs
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Solvro/web-hrownik#244 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug data-types
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
ClickHouse/clickhouse-js#1292 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug documentation queries
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
ClickHouse/clickhouse-cs#815 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
redis.expireTime() returns relative TTL seconds on live host instead of Unix timestamp secondsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100