[CSGO] Crashing ~5mins after playing
Hi,
Fairly new to troubleshooting server side problems - I'm probably not looking in the right place for more details on understanding my problem. I'm hoping someone might be able to point me in the right direction. I have a CSGO DS with two GOTV instances (0s and 90s delays) running. I did a performance test by adding 9 bots to the server and I attempted to play a couple of rounds, but roughly a minute after the first round the server crashes. I get this text spitting out at me, can anyone point me in the right direction? Code:
Waited 14.7ms for SteamNetworkingSockets lock [ServiceThread] Thanks in advance |
Re: [CSGO] Crashing ~5mins after playing
There is 3 topic of this 5minute then crash.
Answer? https://forums.alliedmods.net/showthread.php?t=335370 |
Re: [CSGO] Crashing ~5mins after playing
Hey Bacardi - thanks for the response.
I had seen this thread but didn't appear to help unfortunately. To be fair, I say ~5 minutes after playing, it actually crashes depending on how much is going on in the server, so for example, after about 10 deaths have happened it appears to crash. I've posted the most recent output I got of reproducing this issue today. I feel like this is related to an unnecessary CPU consumption issue, I don't foresee this lacking in resource requirements to perform such actions. I did monitor the server using "top" and noticed that CPU usage hits near 100% when this issue happens.
Code:
Waited 3.6ms for SteamNetworkingSockets lock [ServiceThread] |
Re: [CSGO] Crashing ~5mins after playing
What is your start-command line?
What do you use to run? do you have tried to add Code:
-nowatchdog |
Re: [CSGO] Crashing ~5mins after playing
...next you could try simple, not load MM:S and SM and look do server still crash.
By removing metamod.vdf and metamod_x64.vdf file out from ...addons/ -folder and reboot server. Move files back when you want load addons again, reboot. |
Re: [CSGO] Crashing ~5mins after playing
Thank you both for feedback.
I don't have addons installed on the server at the moment, so I couldn't follow your kind suggestions Bacardi. I did attempt to add Code:
-nowatchdog See my start command below: Code:
/home/<user_name>/csgo-ds/srcds_run -game csgo -debug +exec autoexec -usercon -tickrate 128 +tv_enable 1 +tv_snapshotrate 128 -addhltv1 +tv_enable1 1 +tv_snapshotrate1 128 +tv_advertise_watchable 1 +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2 +sv_setsteamaccount XXXXXXXXXXXXXXXXXXXXXX I realised that -debug was not working and I needed to install gdb (sudo apt install gdb), never used this before so I did nothing with this after the install. I then proceeded to re-run the server using the above command line and I was able to reproduce the issue, but received a slightly different error this time: Code:
Waited 687.0ms for SteamNetworkingSockets lock [ServiceThread] I then proceeded to run the below command: Code:
sudo dpkg --add-architecture i386 Have to park this for today as it's late in my time zone, if anyone has any suggestions based on the latest details that would be great, but I'll continue to look into this tomorrow. |
Re: [CSGO] Crashing ~5mins after playing
you are getting performance warning in console thats the reason your server is crashing , means your instance not able to run the server also you are using 2 GOTV and with 2 relays its normal for server crash , please disable one gotv and try again
|
Re: [CSGO] Crashing ~5mins after playing
Hey Raj Kaul - I need to run two GOTV2 instances on one host.
For reference, I'm not using any relays here - what makes you think this? Your right on the performance being a problem - it's what I figured the issue was at the beginning of this thread but was waiting for someone else's opinion from here. Perhaps the only option is to upgrade my hardware. The main reason for this post was to see if anyone is aware of any cvars that limit/control the memory/cpu usage of the server? and/or if they knew what the error meant exactly, and lastly if anyone had any advice on debugging server crashes. I have upgraded the hardware from: CPU: Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Memory: 4GB To: CPU: Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz Memory: 8GB I appear to get a different error message: Code:
***** OUT OF MEMORY! attempted allocation size: 13556 **** |
Re: [CSGO] Crashing ~5mins after playing
If you're recording with GOTV, you will gobble up that RAM; however, if you are not recording, you probably have a memory leak somewhere.
More information here: https://forums.alliedmods.net/showthread.php?t=327724 Is this while running only one server or two? |
Re: [CSGO] Crashing ~5mins after playing
Ok so as a test, I've removed the bots, joined the server and monitored server performance. Server didn't crash, ran fine no issues, memory consumption hit about 17.5% usage of 8gb
Added the 9 bots back, and what I've noticed here is that the memory usage is continuously creeping up after the player (me) joined the server, and then once the srcds_linux process hits 4GB of memory usage or requires more, it crashes. Suggesting there is a memory leak? I've no idea, other than it is continuously creeping up - any suggestions why this is happening? Does GOTV store information on memory? can I change this? Why would bots cause memory usage to increase? Is having 9 bots + 1 player compared to 10 players on the server an unfair test? edit: Maxximou5 - I'm only running one server, and I'm not recording GOTV. |
All times are GMT -4. The time now is 00:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.