[GH-ISSUE #1090] [Insurgency] graceful rcon quit not working #858

Closed
opened 2026-02-27 02:53:56 +03:00 by kerem · 8 comments
Owner

Originally created by @PhilPhonic on GitHub (Sep 28, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1090

hi,

graceful rcon quit does not work with all of my Insurgency servers. I have to wait 30 seconds until it fails and performs a "hard shutdown".

any suggestions?

Originally created by @PhilPhonic on GitHub (Sep 28, 2016). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1090 hi, graceful rcon quit does not work with all of my Insurgency servers. I have to wait 30 seconds until it fails and performs a "hard shutdown". any suggestions?
kerem closed this issue 2026-02-27 02:53:56 +03:00
Author
Owner

@dgibbs64 commented on GitHub (Sep 28, 2016):

I think that insurgency might just do a reboot with the quit command. Some server do this. So when LGSM sends the quit command it simply reboots the server. So it has to wait then force the shtdown. You can check by entering quit in the console

<!-- gh-comment-id:250211856 --> @dgibbs64 commented on GitHub (Sep 28, 2016): I think that insurgency might just do a reboot with the quit command. Some server do this. So when LGSM sends the quit command it simply reboots the server. So it has to wait then force the shtdown. You can check by entering quit in the console
Author
Owner

@PhilPhonic commented on GitHub (Sep 28, 2016):

You are so right!

quit
[PartyTeamMgr] Grace period started.
L 09/28/2016 - 18:13:05: [META] Loaded 0 plugins (1 already loaded)
L 09/28/2016 - 18:13:05: "BOT Vuk<9><>" disconnected (reason "Server shutting down")
L 09/28/2016 - 18:13:05: "BOT Valdis<8><>" disconnected (reason "Server shutting down")
L 09/28/2016 - 18:13:05: "BOT Thiago<7><>" disconnected (reason "Server shutting down")
L 09/28/2016 - 18:13:05: "BOT Stephen<6><>" disconnected (reason "Server shutting down")
L 09/28/2016 - 18:13:05: "BOT Rense<5><>" disconnected (reason "Server shutting down")
L 09/28/2016 - 18:13:05: "BOT Mike<4><>" disconnected (reason "Server shutting down")
L 09/28/2016 - 18:13:05: "BOT Michael<3><>" disconnected (reason "Server shutting down")
L 09/28/2016 - 18:13:05: "BOT Matthias<2><>" disconnected (reason "Server shutting down")
L 09/28/2016 - 18:13:05: server_message: "quit"
L 09/28/2016 - 18:13:05: Log file closed
L 09/28/2016 - 18:13:05: server_message: "restart"
L 09/28/2016 - 18:13:05: Log file closed.
L 09/28/2016 - 18:13:05: Error log file session closed.
Killed
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Wed Sep 28 18:13:05 CEST 2016: Server restart in 10 seconds

Do you think it would be a good workaround to just skip the "rcon quit" if the game is Insurgency?
If yes, I could try to implement this.

//edit: adding "-norestart" to start arguments avoids automatic restarting. Do you think this is the better way?

<!-- gh-comment-id:250217189 --> @PhilPhonic commented on GitHub (Sep 28, 2016): You are so right! > quit > [PartyTeamMgr] Grace period started. > L 09/28/2016 - 18:13:05: [META] Loaded 0 plugins (1 already loaded) > L 09/28/2016 - 18:13:05: "BOT Vuk<9><BOT><>" disconnected (reason "Server shutting down") > L 09/28/2016 - 18:13:05: "BOT Valdis<8><BOT><>" disconnected (reason "Server shutting down") > L 09/28/2016 - 18:13:05: "BOT Thiago<7><BOT><>" disconnected (reason "Server shutting down") > L 09/28/2016 - 18:13:05: "BOT Stephen<6><BOT><>" disconnected (reason "Server shutting down") > L 09/28/2016 - 18:13:05: "BOT Rense<5><BOT><>" disconnected (reason "Server shutting down") > L 09/28/2016 - 18:13:05: "BOT Mike<4><BOT><>" disconnected (reason "Server shutting down") > L 09/28/2016 - 18:13:05: "BOT Michael<3><BOT><>" disconnected (reason "Server shutting down") > L 09/28/2016 - 18:13:05: "BOT Matthias<2><BOT><>" disconnected (reason "Server shutting down") > L 09/28/2016 - 18:13:05: server_message: "quit" > L 09/28/2016 - 18:13:05: Log file closed > L 09/28/2016 - 18:13:05: server_message: "restart" > L 09/28/2016 - 18:13:05: Log file closed. > L 09/28/2016 - 18:13:05: Error log file session closed. > Killed > Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem > Wed Sep 28 18:13:05 CEST 2016: Server restart in 10 seconds Do you think it would be a good workaround to just skip the "rcon quit" if the game is Insurgency? If yes, I could try to implement this. //edit: adding "-norestart" to start arguments avoids automatic restarting. Do you think this is the better way?
Author
Owner

@dgibbs64 commented on GitHub (Sep 28, 2016):

I think probably not as using quit is still a graceful shutdown. Maybe shorten the shutdown time to something around 10 seconds may help. So the wait isnt so long maybe

<!-- gh-comment-id:250235513 --> @dgibbs64 commented on GitHub (Sep 28, 2016): I think probably not as using quit is still a graceful shutdown. Maybe shorten the shutdown time to something around 10 seconds may help. So the wait isnt so long maybe
Author
Owner

@PhilPhonic commented on GitHub (Oct 1, 2016):

I'm not sure if reducing the shutdown time to 10 seconds. This only speeds up the shutting down, this doesn't resolve the problem.
It would tell the server to quit (then automatically restart) and then while restarting, rcon quit will still fail and kill the server.

In my opinion, adding "-norestart" is the better solution.

<!-- gh-comment-id:250919468 --> @PhilPhonic commented on GitHub (Oct 1, 2016): I'm not sure if reducing the shutdown time to 10 seconds. This only speeds up the shutting down, this doesn't resolve the problem. It would tell the server to quit (then automatically restart) and then while restarting, rcon quit will still fail and kill the server. In my opinion, adding "-norestart" is the better solution.
Author
Owner

@dgibbs64 commented on GitHub (Oct 1, 2016):

I was un aware of the -norestart option. If that will prevent the server from starting back up then that should be implemented since LGSM is designed to handle the restart rather than the server.

<!-- gh-comment-id:250919951 --> @dgibbs64 commented on GitHub (Oct 1, 2016): I was un aware of the -norestart option. If that will prevent the server from starting back up then that should be implemented since LGSM is designed to handle the restart rather than the server.
Author
Owner

@PhilPhonic commented on GitHub (Oct 1, 2016):

okay, so i think you just didn't see my edit in my earlier posts ;-)
I'll add that to the startup line and give a pull request

<!-- gh-comment-id:250920054 --> @PhilPhonic commented on GitHub (Oct 1, 2016): okay, so i think you just didn't see my edit in my earlier posts ;-) I'll add that to the startup line and give a pull request
Author
Owner

@dgibbs64 commented on GitHub (Oct 1, 2016):

Yup I missed it

<!-- gh-comment-id:250920322 --> @dgibbs64 commented on GitHub (Oct 1, 2016): Yup I missed it
Author
Owner

@lock[bot] commented on GitHub (Jul 19, 2018):

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:406154688 --> @lock[bot] commented on GitHub (Jul 19, 2018): This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#858
No description provided.