feat(monitor): explain why a query failed (port not listening vs. no reply)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 42/100
Línea de trabajo
The monitor query path lives in the LinuxGSM shell modules under lgsm/modules, where the failed-query restart and the fn_script_log_* logging helpers are called. Read the monitor code first, then check how ss output could be parsed for the listening port. Done when a failed query logs one of the two hints, to both the screen and the script log, covering both the not-listening and in-use cases.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
When a monitor query fails, the log only says the query failed and the server is restarted. Admins can't tell why. Common causes include:
- The server never opened the query port (it didn't finish booting, or another program already holds a port it needs).
- Something is listening on the port but doesn't answer the query, for example because
queryportis wrong or the query type/protocol doesn't match.
Proposal
After a failed query attempt, check the port with ss and log a hint:
- Port not in use: the server isn't listening on
queryport. Check the console, port settings and port conflicts. - Port in use: name the process listening on it. If the query got no reply, suggest checking
queryportand the query mode/type.
Hints should go to the script log (fn_script_log_*) as well as the screen, so they appear in the monitor log.
Originally proposed by @jusito in #4155 (closed, written against the pre-lgsm/modules monitor).
- Lenguaje dominante
- Shell
- Estrellas
- 4.9k
- Forks
- 870
- Merge medio
- 14 h 50 min
- PR fusionados (30 d)
- 109
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
-
[Bug]: cs2server ignores the GSLT entered during installPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertocommand: install command: start distro: Debian engine: source2 game: Counter-Strike 2 regression: yes reproducible: always severity: high type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
GameServerManagers/LinuxGSM#5106 ·
Los mantenedores suelen responder en 1 día
-
command: start engine: unity3d game: Assetto Corsa priority: high scope: single game type: feature
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
GameServerManagers/LinuxGSM#5099 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: two update runs can run at the same time and break each other's SteamCMD downloadPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoengine: 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
-
fix(core): propagate archive extraction and copy failuresPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertotype: 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
Todos los issues de GameServerManagers/LinuxGSM
Issues similares
-
bug priority-medium to-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 70/100
WordPress/Documentation-Issue-Tracker#2540 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
jfrog/JFrog-Cloud-Installers#535 ·
-
Delete outputs/lstmAbiertoNRDS AWS Costs NRDS AWS Output Data
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
CIROH-UA/ngen-datastream#435 ·
-
Update Help Wanted issue searchAbiertoarea/docs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100