[Bug]: Poor network connection causes command blocking
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 32/100
Línea de trabajo
Comienza siguiendo los comandos /app/dstserver start, monitor, stop y restart, incluidos los procesos update y monitor que aparecen en la salida de ps. Inspecciona la solicitud curl para package.json y reproduce el comportamiento con una conexión de red deficiente. La tarea estará terminada cuando estos comandos ya no permanezcan bloqueados indefinidamente cuando el acceso a la red sea lento o no esté disponible.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
User story
as a server owner, i want command has a timeout, to keep running
Game
Don't Starve Together
Linux distro
Debian 12
Command
command: start, command: monitor, command: stop, command: restart
Further information
system info
linux: debian 13
using docker image: gameservermanagers/gameserver:dst
linuxgsm@gameserver:/app$ cat /build-time.txt
Sat Oct 4 03:31:44 AM UTC 2025
with poor network connection, and docker restart dstserver, after few mins, got a lot of commands
linuxgsm@gameserver:/app$ ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 10:40 ? 00:00:00 /bin/bash ./entrypoint.sh
root 13 1 0 10:40 ? 00:00:00 cron
linuxgsm 23 1 0 10:40 ? 00:00:00 /bin/bash /app/entrypoint-user.sh
linuxgsm 510 0 0 10:41 pts/0 00:00:00 bash
linuxgsm 1355 1 0 10:41 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 2170 1 0 10:44 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 3392 2170 0 10:49 ? 00:00:00 npm update
linuxgsm 3409 1 0 10:50 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 3833 1 0 10:52 ? 00:00:00 /bin/bash /app/dstserver monitor
root 5458 13 0 11:00 ? 00:00:00 CRON
linuxgsm 5459 5458 0 11:00 ? 00:00:00 /bin/sh -c /app/dstserver update > /dev/null 2>&1
linuxgsm 5460 5459 0 11:00 ? 00:00:00 /bin/bash /app/dstserver update
linuxgsm 7696 1 0 11:02 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 8110 1 0 11:04 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 8974 3409 0 11:06 ? 00:00:00 npm update
linuxgsm 8991 1 0 11:06 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 9387 8991 0 11:06 ? 00:00:00 npm update
linuxgsm 10290 8110 0 11:09 ? 00:00:00 npm update
linuxgsm 10307 1 0 11:10 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 10720 1 0 11:12 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 12675 10307 0 11:15 ? 00:00:00 npm update
linuxgsm 12692 1 0 11:16 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 13587 1 0 11:18 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 16043 12692 0 11:21 ? 00:00:00 npm update
linuxgsm 16060 1 0 11:22 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 16456 13587 0 11:23 ? 00:00:00 npm update
linuxgsm 16941 1 0 11:24 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 17337 1355 0 11:24 ? 00:00:00 npm update
linuxgsm 17354 1 0 11:26 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 17750 17354 0 11:26 ? 00:00:00 npm update
linuxgsm 18428 0 0 11:27 pts/1 00:00:00 bash
linuxgsm 19453 1 0 11:28 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 20942 7696 0 11:28 ? 00:00:00 npm update
linuxgsm 20953 16941 0 11:29 ? 00:00:00 npm update
linuxgsm 21497 1 0 11:31 ? 00:00:00 tmux -L dstserver-12fb60da new-session -d -x 80 -y 23 -s dstserver ./dontstarve_dedicated_server_nullrenderer -persistent_storage_root
linuxgsm 21498 21497 0 11:31 pts/2 00:00:00 sh -c ./dontstarve_dedicated_server_nullrenderer -persistent_storage_root /data/.klei -conf_dir DoNotStarveTogether -cluster Cluster_1
linuxgsm 21500 21498 12 11:31 pts/2 00:01:25 ./dontstarve_dedicated_server_nullrenderer -persistent_storage_root /data/.klei -conf_dir DoNotStarveTogether -cluster Cluster_1 -shard
linuxgsm 21880 1 0 11:32 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 22278 19453 0 11:33 ? 00:00:00 npm update
linuxgsm 22289 10720 0 11:33 ? 00:00:00 npm update
linuxgsm 23621 23 0 11:34 ? 00:00:00 /bin/bash ./dstserver update
linuxgsm 24590 21497 0 11:34 ? 00:00:00 cat
linuxgsm 24619 1 0 11:34 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 25850 1 0 11:36 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 26300 25850 0 11:36 ? 00:00:00 npm update
linuxgsm 26324 5460 0 11:37 ? 00:00:00 npm update
linuxgsm 26335 21880 0 11:37 ? 00:00:00 npm update
linuxgsm 26352 1 0 11:38 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 26748 26352 0 11:38 ? 00:00:00 npm update
linuxgsm 26759 23621 0 11:39 ? 00:00:00 npm update
linuxgsm 26770 24619 0 11:39 ? 00:00:00 npm update
linuxgsm 26781 3833 0 11:39 ? 00:00:00 npm update
linuxgsm 26798 1 0 11:40 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 27195 26798 0 11:40 ? 00:00:00 npm update
linuxgsm 27347 1 0 11:42 ? 00:00:00 /bin/bash /app/dstserver monitor
linuxgsm 27741 27347 0 11:42 ? 00:00:00 curl -s -L -o package.json https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/package.json
linuxgsm 28425 16060 0 11:43 ? 00:00:00 curl -s -L -o package.json https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/package.json
linuxgsm 28427 18428 0 11:43 pts/1 00:00:00 ps -ef
I also found that network problems can also cause the start and stop commands to be blocked.
It seems that it will also curl something?
I hope these commands can be offline or non-blocking
Relevant log output
Steps to reproduce
No response
- Lenguaje dominante
- Shell
- Estrellas
- 4.9k
- Forks
- 870
- Merge medio
- 17 h 33 min
- PR fusionados (30 d)
- 104
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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 GameServerManagers/LinuxGSM
-
engine: source game: Team Fortress 2 game: Team Fortress 2 Classified info: docker info: steamcmd type: bug
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
GameServerManagers/LinuxGSM#5094 ·
Los mantenedores suelen responder en 1 día
-
type: bug
Dificultad 3/5 Medio día Aptitud para principiantes 42/100
GameServerManagers/LinuxGSM#5048 ·
Los mantenedores suelen responder en 1 día
-
engine: unity3d engine: unreal4 Epic game: 7 Days to Die game: ARK: Survival Evolved game: Rust info: dependency type: feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 8/100
GameServerManagers/LinuxGSM#5047 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
command: monitor type: feature
Dificultad 3/5 Medio día Aptitud para principiantes 42/100
GameServerManagers/LinuxGSM#4995 ·
Los mantenedores suelen responder en 1 día
-
feat(core): report a clear error when the configured branch doesn't existPosiblemente ocupada @dgibbs64 la tomó hace 6 días. Abiertotype: feature
Dificultad 3/5 Medio día Aptitud para principiantes 45/100
GameServerManagers/LinuxGSM#4994 ·
Los mantenedores suelen responder en 1 día
Todos los issues de GameServerManagers/LinuxGSM
Issues similares
-
bug github_actions security
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
DewaldOosthuizen/tech-cheat-sheets-and-notes#388 ·
Los mantenedores suelen responder en 1 día
-
priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
melodic-software/claude-code-plugins#8831 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
package-update
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día