Raised This Month: $32 Target: $400
 8% 

Server crashes on map change


Post New Thread Reply   
 
Thread Tools Display Modes
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-28-2021 , 11:19   Re: Server crashes on map change
Reply With Quote #11

Quote:
Originally Posted by Chapp View Post
Hello, i have the same problem. I tried to start server without plugins and it's the same problem. My server crash.
https://prnt.sc/xr4zfl
This is the error.
Try to upgrade both, MM:S and SM, to minimize this crash puzzle.

Download latest stable release (make sure you download right OS Linux or Windows or ... Mac):
- Build 1144 http://www.metamodsource.net/downloa...?branch=stable
- Build 6502 https://www.sourcemod.net/downloads.php?branch=stable

Unpack those packs somewhere your computer, don't upload yet into your server.


(At least, in Windows OS) you need shutdown your SRCDS before you upgrade your MM:S or SM files,
otherwise some files cannot overwritten because those are in use by SRCDS program.

Do this:

- Find addons/metamod.vdf file, delete or move file out from addons/ folder.
- Shutdown your SRCDS or reboot.

At this point, even if you can't keep your SRCDS shutdown and it will startup again, MM:S and SM would not load anymore.
You can check by typing in server console commands meta and sm (Unknown command " ")

Upgrade Metamod:Source:
- Simply, move addons folder into your SRCDS csgo folder (Counter-Strike: Global Offensive)

Upgrade SourceMod:
- Before you upload, look your new, unpacked SM files, in your computer.
Find these folders and delete
Code:
addons\sourcemod\configs\
cfg\
Now you will not loose your current configurations in your server (admins, etc. etc.)
- Upload your new SM addons folder into your SRCDS csgo folder

Start or reboot your server.
When server is up, wait couple minutes. SM is updating new gamedata files, if there is.
Reboot server again.

-------------------------------------------

Now, you have latest MM:S and SM
Does server still crash ?

If it does:
Try again, remove metamod.vdf file out from addons folder, reboot server. So you run SRCDS without MM:S SM

Does your server still crash without mods ?
Bacardi is offline
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 01-28-2021 , 12:35   Re: Server crashes on map change
Reply With Quote #12

Code:
mp_match_end_changelevel 0
mp_match_end_restart 1
Use this to avoid the map change until you fix the issue.
__________________
Ilusion9 is offline
yuv41
Member
Join Date: Jan 2020
Old 01-28-2021 , 13:01   Re: Server crashes on map change
Reply With Quote #13

Quote:
Originally Posted by Ilusion9 View Post
Code:
mp_match_end_changelevel 0
mp_match_end_restart 1
Use this to avoid the map change until you fix the issue.
My server has to vote for a nextmap, its a wingman server.
I updated my MM & Sourcemod.
Code:
sm version
 SourceMod Version Information:
    SourceMod Version: 1.10.0.6502
    SourcePawn Engine: 1.10.0.6502, jit-x86 (build 1.10.0.6502)
    SourcePawn API: v1 = 5, v2 = 12
    Compiled on: Dec 18 2020 04:15:26
    Built from: https://github.com/alliedmodders/sourcemod/commit/617fb77
    Build ID: 6502:617fb77
    http://www.sourcemod.net/
meta version
 Metamod:Source Version Information
    Metamod:Source version 1.11.0-dev+1144
    Plugin interface version: 16:14
    SourceHook version: 5:5
    Loaded As: Valve Server Plugin
    Compiled on: Dec 27 2020 18:18:22
    Built from: https://github.com/alliedmodders/metamod-source/commit/7341116
    Build ID: 1144:7341116
    http://www.metamodsource.net/
Will report back results.

----
Update, Still crashing.

Last edited by yuv41; 01-28-2021 at 14:01.
yuv41 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-28-2021 , 23:33   Re: Server crashes on map change
Reply With Quote #14

Does it still crash, without SM and MM:S ? (remove metamod.vdf file)
Bacardi is offline
AlinXD
Senior Member
Join Date: Feb 2016
Old 01-29-2021 , 01:09   Re: Server crashes on map change
Reply With Quote #15

--- Host_Changelevel ----
./hlds_r_162: line 22: 7524 Killed $HL "$@" 2>&1

>>>>> Restartam serverul in 10 secunde... <<<<<

>>>>> Restarturi ramase: 24 <<<<<

I don't get it
__________________
AlinXD is offline
yuv41
Member
Join Date: Jan 2020
Old 01-29-2021 , 01:25   Re: Server crashes on map change
Reply With Quote #16

Quote:
Originally Posted by Bacardi View Post
Does it still crash, without SM and MM:S ? (remove metamod.vdf file)
Without sourcemod and metamod it doesn't crash.
But now it crashes sometimes, not every map change.
This is so fucking weird
-----
Server also crashes when waking up from hibernation
-----
I tried running accelerator again on the servers, and suddenly accelerator doesn't give any output, seems like its not even detecting the crash.
I tried running -debug and this is what i got at the crash.
Code:
L 01/29/2021 - 09:56:47: server cvars end
Killed
cat: hlds.2372.pid: No such file or directory
email debug.log to [email protected]
Fri 29 Jan 2021 09:56:47 AM CET: Server Quit
Erase is control-H (^H).
[  OK  ] Debuging csgoserver-2: Stopping debug

Last edited by yuv41; 01-29-2021 at 04:03.
yuv41 is offline
The Killer NL
AlliedModders Donor
Join Date: Aug 2018
Location: The Netherlands
Old 01-29-2021 , 06:03   Re: Server crashes on map change
Reply With Quote #17

So what I noticed.

If nobody is in the server and I switch the map manually through the console the map switches fine and it won't crash.
But if there is players in the server and any of those things happen: Map is done, rtv, adminmenu mapswitch and console.
It will sort of crash without any output and you have to 'retry' in the console to reconnect due the crash so you will be stuck on just 1 map.
__________________

The Killer NL is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-29-2021 , 08:27   Re: Server crashes on map change
Reply With Quote #18

I don't know, what kind of server host you have.
But if possible, try SteamCMD update again, with validate parameter.

cs:go
Code:
app_update 740 validate
This make sure, every SRCDS files are updated and fixed.
(Beware, if you have configure Valve own game cfg files, gamemode_casual.cfg, gamemodes.txt etc. etc. those will reset back to default. Deleted default maps come back.)

----------------------------------


Next what you could try is, disable some SourceMod extensions.
Go and create folder ...addons\sourcemod\extensions\disabled\
Move all extensions which not come with SM pack, into disabled folder.

Here is list SM default extensions, leave these alone.
SM base exts

Some SM plugins will stop working. But we need look, does crash disappear.

If there is no crash anymore, then try to bring back one extension at time and follow when crash happen, you may find problem.
This is really slow phase and require map changes or server reboots.

----------------------------------


Do you all have OS Linux ? and Debian ?
Could it be problem...
Bacardi is offline
yuv41
Member
Join Date: Jan 2020
Old 01-29-2021 , 08:30   Re: Server crashes on map change
Reply With Quote #19

Quote:
Originally Posted by Bacardi View Post
I don't know, what kind of server host you have.
But if possible, try SteamCMD update again, with validate parameter.

cs:go
Code:
app_update 740 validate
This make sure, every SRCDS files are updated and fixed.
(Beware, if you have configure Valve own game cfg files, gamemode_casual.cfg, gamemodes.txt etc. etc. those will reset back to default. Deleted default maps come back.)

----------------------------------


Next what you could try is, disable some SourceMod extensions.
Go and create folder ...addons\sourcemod\extensions\disabled\
Move all extensions which not come with SM pack, into disabled folder.

Here is list SM default extensions, leave these alone.
SM base exts

Some SM plugins will stop working. But we need look, does crash disappear.

If there is no crash anymore, then try to bring back one extension at time and follow when crash happen, you may find problem.
This is really slow phase and require map changes or server reboots.

----------------------------------


Do you all have OS Linux ? and Debian ?
Could it be problem...
I am using LGSM on a Linux Machine (Debian 10 Buster)
Will validate the files (again btw),
I'll try running the server with default extensions only and report back here.

----
Validation

Extensions


Seems like with default extensions only it does NOT crash.
Gonna try installing the latest version of the 3rd party extesnions that i need and will report back.
----
Nevermind it still crashes.

Last edited by yuv41; 01-29-2021 at 10:45.
yuv41 is offline
AlinXD
Senior Member
Join Date: Feb 2016
Old 01-29-2021 , 11:53   Re: Server crashes on map change
Reply With Quote #20

I'm 99% sure it's either a OS / kernel problem, every server was crashing at mine and Chapp's hosting company, and they've fixed it, rock solid for 6 hours so far.
__________________
AlinXD is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode