mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 06:05:57 +03:00
[GH-ISSUE #624] lgsm crashing servers? or just server bug? #498
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference
starred/LinuxGSM#498
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AzaZPPL on GitHub (Jan 11, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/624
Since of a month my server's have been crashing a lot. This happend after I ran update-functions. The error is the following:
The same error on another server
After googling for 10 seconds. I found this https://steamcommunity.com/app/222880/discussions/2/35220315872063271/
Any ideas?
@jaredballou commented on GitHub (Jan 12, 2016):
What OS?
What game?
Any addons (SourceMod, MetaMod, Garry's Mods, etc)?
Can we get the logs 100 lines before the crash?
@AzaZPPL commented on GitHub (Jan 12, 2016):
OS: Centos 7 x64
Game: CS:GO
Mods: Sourcemod, Metamod
The error above is the only error. I've witnessed it happen while I was in the console. No errors popup on the console. The console just hangs and you are unable to do anything.
lgsm logs:
@UltimateByte commented on GitHub (Jan 12, 2016):
Hi,
Definately a non script issue.
Could it be a CSGO update that breaks your sourcemod/metamod ?
Don't they need an update ?
Did you try validating your gamefiles ?
@AzaZPPL commented on GitHub (Jan 12, 2016):
We use the same mods every other community uses. The only difference is we are using lgsm.
All of the server have been updated and validated many times, with validation completing without any mismatches.
I will try and make another server without using lgsm and see if the problem persists.
@UltimateByte commented on GitHub (Jan 12, 2016):
Seems like there are more issues with CentOS than Debian or Ubuntu.
The only thing that LGSM could do is applying a fix that is no longer required on CentOS and then cause the issue.
Could you please make a new user and a blank server (with different ports) and see if it works ?
Otherwise if you can't figure out, i'd recommand making new servers (with lgsm) and transfer the config to it. But that would be the last option. We're gonna try to figure this out before.
@AzaZPPL commented on GitHub (Jan 12, 2016):
Should I install the new server with the same mods?
@UltimateByte commented on GitHub (Jan 12, 2016):
First try it without mods, then with them. That way you have more chance to isolate then find the cause. :)
@jaredballou commented on GitHub (Jan 13, 2016):
What do the performance metrics look like? Are you running out of memory? Is the usage of the server scaling up over time till it dies? If you can run "sm plugins list" for us as well that might shed some light. SourceMod is lousy with awful developers who create monsters of allocation without freeing memory. I count myself as principal among the offenders. I've had a lot of issues when I start getting memory contention on my machines running SM, and generally when I disable it my issues (and gameplay mods) disappear.
@AzaZPPL commented on GitHub (Jan 13, 2016):
When the server's console hangs up, %CPU is at 100%. If I'm not running monitor every 1 minute the server won't restart and stay like that until I manually kill it. When the CPU is at 100% the memory stays the same.
The server's main mod is KZTimer all else secondary.
@jaredballou commented on GitHub (Jan 19, 2016):
When it gets jammed up, does it still respond to clients? What sort of stuff do you see in the logs/console? How many instances are running on this box? Any changes (upgrades, new plugins) lately?
@AzaZPPL commented on GitHub (Jan 21, 2016):
Jammed up issues where the cpu was at 100% has been fixed by updating the server (There was a bug with srcds_linux with very heavy mods which caused this). However the server still crashes! Since CentOS is on tmux 1.8 I can't see console logs. After taking a look into the console at just the right moment I saw the crash. But it wasn't a crash it just executed the following commands:
Why would it do that? Than I remembered I have enabled monitor in crontab. Disabled it from crontab. 2/3 hours in and no crashes.
@UltimateByte commented on GitHub (Jan 21, 2016):
Recently in gmod, the server crashed when you runned the command "quit" into the console if the workshop was enabled on the server.
They corrected it in the last update.
Could it be possible that this issue occurs with csgo too ?
Do you think your "monitor" command makes an issue on your server ?
What happens if you run it manually ?
./csgoserver monitor
@AzaZPPL commented on GitHub (Jan 21, 2016):
It works correctly. However if the workshop is downloading maps and monitor is runned it restarts the servers. I believe its an issue with gsquery.
@UltimateByte commented on GitHub (Jan 21, 2016):
I don't remember encountering this issue ever with gmod, even though some servers sometimes had to download a huge amount of huge addons.
@dgibbs64 Do you know if gmod and csgo servers can normally respond to gsquery while downloading from the workshop ?
@dgibbs64 commented on GitHub (Jan 22, 2016):
This may be because the server appears unresponsive to gsquery while maps are downloading. Similar to when there is a map change as the server is loading. The server appears unresponsive while this is done. gsquery gets around this by waiting 30 seconds and trying again giving the server enough time to change map and become responsive on the query port.
However with downloading workshop maps this may take several mins to complete. Meaning if the query port is unresponsive gsquery will think the server is offline.
Thats my guess at least.
@UltimateByte commented on GitHub (Jan 22, 2016):
I see no obvious way for gsquery to return an OK value while the server is actually not reachable by a query as it's downloading maps.
My only advise here would be to turn off monitoring with a # comment on the crontab line while downloading huge maps if your server isn't fast enough, or to increase that monitor time.
Closing for now, feel free to re-open if you feel like you can't get over it, then we may re-consider that and try to find another way to fix it.
@dgibbs64 commented on GitHub (Jan 22, 2016):
https://github.com/dgibbs64/linuxgsm/blob/master/functions/monitor_gsquery.sh#L49
Alter this line of code to adjust the wait time between checks. May be useful
@AzaZPPL commented on GitHub (Jan 22, 2016):
I don't know when the workshop is downloading maps. The workshop is updated a lot and having to keep up with every player who adds a map to it would be a huge pain in the ass. The buildin crash-restart feature of srcds will work fine now I guess. No crashes though since I've disabled monitor.
@UltimateByte commented on GitHub (Jan 22, 2016):
I advise a daily auto restart anyway, as it can be laggy if no changemap for a while (even if no players on it). You can put an hourly monitor just in case, and as dgibbs advised, increase the wait time to make sure it doesn't cause issues at all.
@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.