Guest networking randomly breaks after a few hours
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 43/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- rust
- Área
- networking
Línea de trabajo
Start with the linked tsi_stream.rs location around line 412 and trace how the TSI socket send can block; the report says the hang occurs after hours with 100% CPU and suggests a send timeout only as a workaround. Investigate the networking code’s blocking behavior and relevant tests; done means a real solution avoids indefinite blocking and addresses the reported hang.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I deployed a small web server using Podman and krun and it works fine at first, but after a while (between 2 and 30 hours) the guest networking will hang infinitely and be completely unresponsive from the outside while using 100% CPU. I'm using TSI, not passt.
I suspect it's because of this line which makes the socket block. As a simple workaround I added setsockopt(&self.fd, sockopt::SendTimeout, &SEND_TIMEOUT) to set a timeout on how long it can block for, which seems to make the hangs last only a few minutes instead of infinitely. However, a real solution would require restructuring that code to never be blocking.
- Lenguaje dominante
- Rust
- Estrellas
- 2.8k
- Forks
- 279
- Merge medio
- 2 d 12 h
- PR fusionados (30 d)
- 28
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de libkrun/libkrun
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
libkrun/libkrun#895 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
Los mantenedores suelen responder en 2 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
Los mantenedores suelen responder en 2 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
libkrun/libkrun#911 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
All virtiofs shares return ECONNREFUSED in the guest (macOS host, libkrun 1.19.6 + krunkit 1.3.2)Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
libkrun/libkrun#910 · 5 comentarios ·
Los mantenedores suelen responder en 2 días
Todos los issues de libkrun/libkrun
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
text as float loses precisionAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
loongarch64: `unsupported linker arg: --no-rosegment` with rustc 1.100Posiblemente ocupada @monosans la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
rust-cross/cargo-zigbuild#503 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
rust-lang/a-mir-formality#472 ·
Los mantenedores suelen responder en 1 día
-
agent:iq3-xxs area: cli duplication enhancement priority: P3 ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día