Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Guest networking randomly breaks after a few hours

Abierto
#809 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de libkrun/libkrun

Todos los issues de libkrun/libkrun

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.