conmon wedges on long-running container: podman exec fails with readObjectStart NUL while container keeps serving traffic (rootless podman 5.8.2, conmon 2.2.1)
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 15/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- infrastructure
Direzione di ricerca
Start from the two halves of the exec handshake: conmon's control/exec handling that writes the JSON payload, and the podman exec path that fails decoding it with readObjectStart. The payload names no files, so first reproduce with conmon at higher verbosity and strace the wedged conmon on the next occurrence, checking what is written to the control/exec fd and whether it is closed or reused. Done means repeated podman exec and the healthcheck keep working after multi-day uptime.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Title: conmon wedges on long-running container: podman exec fails with readObjectStart ... \x00 while container keeps serving traffic (rootless podman 5.8.2, conmon 2.2.1)
Summary
On a long-running rootless container, conmon intermittently wedges after ~1–2 days of uptime: every podman exec into the container fails with conmon bytes "": readObjectStart: expect { or n, but found \x00, while the container itself keeps running and serving HTTP 200. The container's healthcheck starts failing (or keeps returning a stale healthy result for the first minute or two). Restarting the container (via its systemd Quadlet unit) immediately restores normal exec behavior. This has recurred 5 times in 9 days on the same container, with increasing frequency.
Environment
- OS: AlmaLinux 9.9 (kernel 5.14.0-741.24.1.el9_9.x86_64), SELinux enforcing
- Podman: 5.8.2 (client & engine, rootless), API 5.8.2, go1.27.3
- conmon: 2.2.1 (RPM
conmon-3:2.2.1-2.el9_8, AlmaLinux appstream) — latest upstream release - crun: 1.29.1
- Container image:
docker.io/library/ghost:6.78.0-alpine(Node.js app with an HTTP healthcheck) - Deployment: rootless Quadlet systemd user unit, container has been up ~34 h when each wedge occurs
Symptom
-
Container is
runningandhealthy, serving HTTP 200 normally. -
At some point, all
podman exec <ctr> <cmd>calls start failing with:Error: container create failed (no logs from conmon): conmon bytes "": readObjectStart: expect { or n, but found \x00, error found in #0 byte of ...||..., bigger context ...||... -
The application inside keeps serving traffic fine (HTTP 200/301) — only the conmon exec path is broken.
-
The container healthcheck (which runs inside the container) begins failing within minutes, flipping health to
unhealthy; occasionallypodman inspectkeeps reporting a stalehealthystatus for the first ~1–2 minutes after the wedge starts. -
conmonprocess for the container is alive, with normal fd count (~18) and RSS (~2.4 MB) — no fd leak, no OOM, no kernel log entries. -
systemctl --user restart <quadlet-unit>fully resolves it: exec works again immediately.
Recurrence
5 incidents in 9 days on the same container (Nov 17, 18, 22, 24, 25 — uptime at wedge between ~20 h and ~34 h each time). All produce the identical readObjectStart ... \x00 error. Frequency appears to be increasing.
Expected behavior
podman exec keeps working for the lifetime of the container.
Actual behavior
conmon stops being able to spawn exec sessions after ~1–2 days, returning an unparseable (empty/NUL) payload, while the container itself remains fully functional.
Notes
- The error string matches other issues, but those all concern container creation failing; here the wedge happens on an already-running container during
exec. - No OOM kills, no dmesg/journal errors, no fd exhaustion on the conmon process at wedge time.
- Happy to gather further diagnostics (conmon logs at higher verbosity, strace of the wedged conmon, etc.) on the next occurrence — please let me know what would be most useful.
- Lingua principale
- C
- Stelle
- 510
- Fork
- 159
- Merge medio
- 2g 6h
- PR unite (30g)
- 12
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di containers/conmon
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
containers/conmon#660 ·
I maintainer di solito rispondono entro 2 giorni
-
conn_sock.c auditAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
containers/conmon#576 ·
I maintainer di solito rispondono entro 2 giorni
-
Conmon should support Fluentd Forward as a logging driverForse di nuovo libera @jnovy l’ha presa 449 giorni fa e non c’è nessuna pull request aperta. Apertajira
containers/conmon#552 · 1 commento · 4 reazioni · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
-
Dependency DashboardAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 15/100
containers/conmon#399 ·
I maintainer di solito rispondono entro 2 giorni
-
Support `FDSTORE=1` (sd_pid_notify_with_fds) to restart a container without losing active TCP connectionsForse di nuovo libera @jnovy l’ha presa 449 giorni fa e non c’è nessuna pull request aperta. Apertajira
containers/conmon#393 · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di containers/conmon
Issue simili
-
bug severity: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
AlessandroSangiuliano/Uros#1014 ·
-
severity: low
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
luainkernel/lunatik#2727 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 6 giorni
-
Termux compilation failureApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
bot-triaged module: cuda module: memory usage module: pybind module: tensor creation triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pytorch/pytorch#206707 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno