feat(monitor): explain why a query failed (port not listening vs. no reply)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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).
- 主要言語
- Shell
- スター
- 4.9k
- フォーク
- 870
- 平均マージ
- 14時間 50分
- マージ済み PR(30日)
- 109
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
GameServerManagers/LinuxGSM のほかの issue
-
command: start engine: unity3d game: Assetto Corsa priority: high scope: single game type: feature
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
GameServerManagers/LinuxGSM#5099 ·
メンテナーはふだん 1 日以内に返信
-
engine: source game: Team Fortress 2 game: Team Fortress 2 Classified info: docker info: steamcmd type: bug
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
GameServerManagers/LinuxGSM#5094 ·
メンテナーはふだん 1 日以内に返信
-
type: bug
難易度 3/5 半日 初心者へのやさしさ 42/100
GameServerManagers/LinuxGSM#5048 ·
メンテナーはふだん 1 日以内に返信
-
engine: unity3d engine: unreal4 Epic game: 7 Days to Die game: ARK: Survival Evolved game: Rust info: dependency type: feature
難易度 5/5 1週間以上 初心者へのやさしさ 8/100
GameServerManagers/LinuxGSM#5047 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
feat(core): report a clear error when the configured branch doesn't exist対応中かも @dgibbs64 が 11 日前に担当しました。 オープンtype: feature
難易度 3/5 半日 初心者へのやさしさ 45/100
GameServerManagers/LinuxGSM#4994 ·
メンテナーはふだん 1 日以内に返信
GameServerManagers/LinuxGSM の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信
-
resource-submission validation-passed
難易度 1/5 1時間未満 初心者へのやさしさ 67/100
hesreallyhim/awesome-claude-code#3264 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: install bug good first issue hacktoberfest
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 3 日以内に返信
-
Good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
armbian/build#11107 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信