Raised This Month: $51 Target: $400
 12% 

(VPS) Server lagging and then crashing..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
k0r4y
Junior Member
Join Date: Nov 2016
Old 11-04-2016 , 00:58   (VPS) Server lagging and then crashing..
Reply With Quote #1

I've managed to get niko's cksurf (1.19), sourcemod(1.8.0-git5949) and meta mod(1.10.6) with stripper also installed, but it seems like my server can't handle anything, it lags out after 2-3 people join the server and even sometimes when I'm alone and testing the server.. I'm running on 102.4 tickrate, same stuff happens on 64 tick.



I have the server on a 16.04 LAMP droplet on digital ocean's 5$ a month which should be strong enough to handle a couple players, right? (16 player slot server)

steps to produce the server:
install lamp droplet
get linux game server manager to install csgo server
install plugins
fixed every error i could find in errors log and console log besides mapgroups, which i dont think should be lagging the server?

when does it crash?:
on map changes really often
after 1 or more player joins the server, starts to lag for a minute then crashes the server making it auto restart to the default map.

errors_* log in sourcemod/logs is clear.

L* logs also clear

sm plugin list
Code:
  01 "Reserved Slots" (1.8.0.5949) by AlliedModders LLC
  02 "Full Alltalk" (1.8.0.5949) by Gucci
  03 "Fun Votes" (1.8.0.5949) by AlliedModders LLC
  04 "[UMC] End of Map Vote" (3.4.6-dev) by Steell
  05 "[UMC] Player Limits" (3.4.6-dev) by Steell
  06 "Fun Commands" (1.8.0.5949) by AlliedModders LLC
  07 "ckSurf" (1.19) by Elzi
  08 "[UMC] Prefix Exclusion" (3.4.6-dev) by Steell
  09 "[UMC] Ultimate Mapchooser Core" (3.4.6-dev) by Steell
  10 "Player Commands" (1.8.0.5949) by AlliedModders LLC
  11 "Updater" (1.2.2) by GoD-Tony
  12 "Basic Info Triggers" (1.8.0.5949) by AlliedModders LLC
  13 "Admin File Reader" (1.8.0.5949) by AlliedModders LLC
  14 "Anti-Flood" (1.8.0.5949) by AlliedModders LLC
  15 "[UMC] Admin Menu" (3.4.6-dev) by Steell
  16 "[UMC] Post-Played Exclusion" (3.4.6-dev) by Sazpaimon and Steell
  17 "[UMC] Player Count Monitor" (3.4.6-dev) by Steell
  18 "[UMC] End of Map Vote Warnings" (3.4.6-dev) by Steell
  19 "Basic Ban Commands" (1.8.0.5949) by AlliedModders LLC
  20 "Admin Menu" (1.8.0.5949) by AlliedModders LLC
  21 "[UMC] Vote Command" (3.4.6-dev) by Steell
  22 "Basic Chat" (1.8.0.5949) by AlliedModders LLC
  23 "Client Preferences" (1.8.0.5949) by AlliedModders LLC
  24 "Basic Votes" (1.8.0.5949) by AlliedModders LLC
  25 "[UMC] Echo Nextmap" (3.4.6-dev) by Steell
  26 "Nextmap" (1.8.0.5949) by AlliedModders LLC
  27 "Basic Commands" (1.8.0.5949) by AlliedModders LLC
  28 "Admin Help" (1.8.0.5949) by AlliedModders LLC
  29 "[UMC] Random Cycle" (3.4.6-dev) by Steell
  30 "[UMC] Nominations" (3.4.6-dev) by Steell
  31 "Fix angles" (1.0.1) by Grey83
  32 "[UMC] Time Limits" (3.4.6-dev) by Steell
  33 "[UMC] Map Weight" (3.4.6-dev) by Steell
  34 "Basic Comm Control" (1.8.0.5949) by AlliedModders LLC
  35 "[UMC] Rock The Vote" (3.4.6-dev) by Steell
  36 "[UMC] Map Commands" (3.4.6-dev) by Steell
  37 "Sound Commands" (1.8.0.5949) by AlliedModders LLC
meta list
Code:
  [01] Stripper (1.2.2) by BAILOPAN
  [02] SourceMod (1.8.0.5949) by AlliedModders LLC
  [03] CMD Crash Fix (1.0) by GoD-Tony
  [04] CS Tools (1.8.0.5949) by AlliedModders LLC
  [05] SDK Tools (1.8.0.5949) by AlliedModders LLC
  [06] DHooks (2.0.4) by AlliedModders
  [07] SDK Hooks (1.8.0.5949) by AlliedModders LLC
  [08] SteamWorks Extension (1.2.1) by Kyle Sanderson
mapchange crash console log:
Code:
L 11/04/2016 - 04:42:10: [SM] Changed map to "surf_kitsune2_GO"
---- Host_Changelevel ----
*** Map Load: surf_kitsune2_GO: Map Group ConVarRef r_staticlight_streams doesn't point to an existing ConVar
Killed
csgo-server.cfg
Code:
// Server Logging
log on
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 0

// Server Hibernation
//sv_hibernate_when_empty 1
//sv_hibernate_ms 5

// Server Query
// More info at: https://www.gametracker.com/games/csgo/forum.php?thread=91691
host_name_store 1
host_info_show 1
host_players_show 2


exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip
sv_downloadurl
sv_allowupload "1"
sv_allowdownload "1"
sv_clamp_unsafe_velocities 0
sv_full_alltalk 1
sm_fix_angles_enable 1
fps_max 200
sv_minrate 128000
sv_maxrate 102.4
sv_maxupdaterate 128
sv_minupdaterate 128
sv_maxcmdrate 128
sv_mincmdrate 128
sv_occlude_players 0
sv_force_transmit_players 0
net_splitrate 2
occlusion_test_async 0
sv_parallel_packentities 0
sv_parallel_sendsnapshot 1
net_queued_packet_thread 1
net_splitpacket_maxrate 100000


# Hibernation
sm_cvar sv_hibernate_ms 0
sm_cvar sv_hibernate_ms_vgui 0
sm_cvar sv_hibernate_postgame_delay 0
sm_cvar sv_hibernate_when_empty 0

# Network / Throughput
sm_cvar sv_parallel_sendsnapshot 1
sm_cvar sv_enable_delta_packing 1
sm_cvar sv_maxunlag 0.1
sm_cvar net_maxcleartime 0.001
sm_cvar net_minroutable 1000
sm_cvar net_earliertempents 1
sm_cvar net_compresspackets 0

# Ragdolls / Props
sm_cvar g_ragdoll_important_maxcount 1
sm_cvar g_ragdoll_maxcount 1
sm_cvar phys_enable_experimental_optimizations 1
sm_cvar prop_active_gib_limit 1
sm_cvar prop_active_gib_max_fade_time 1
sm_cvar sv_turbophysics 0

# CPU Tweaks
sm_cvar fps_max 0
sm_cvar host_framerate 0
sm_cvar host_syncfps 0
sm_cvar pvs_min_player_distance 1
sm_cvar sv_alternateticks 1
sm_cvar sv_force_transmit_ents 0
sm_cvar sv_force_transmit_players 0
sm_cvar sv_forcepreload 1
sm_cvar sv_stats 0
sm_cvar sv_parallel_packentities 1
sm_cvar sv_multiplayer_maxtempentities 1
I also sometimes seem to get a net channel rate limit error message in the console during lag before the server kills itself which I have trouble locating in the logs at the moment..

I hope somebody could help me with this problem and if there's any more information you need I'll try to provide them asap!

Last edited by k0r4y; 11-05-2016 at 00:46.
k0r4y is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 11-04-2016 , 01:12   Re: (VPS) Server lagging and then crashing..
Reply With Quote #2

What's the output of:
Code:
cat /proc/cpuinfo
Why are you using LAMP?
Have you tried running your server without SourceMod installed (rename addons folder)?
Maxximou5 is offline
k0r4y
Junior Member
Join Date: Nov 2016
Old 11-04-2016 , 01:23   Re: (VPS) Server lagging and then crashing..
Reply With Quote #3

Quote:
Originally Posted by Maxximou5 View Post
What's the output of:
Code:
cat /proc/cpuinfo
Why are you using LAMP?
Have you tried running your server without SourceMod installed (rename addons folder)?
Didn't want to go through the hassle of installing mysql again, as I had the same problems on a fresh ubuntu droplet which I've destroyed to try a full reinstall of the server on a new droplet.


I just resized my droplet to a 10$ before I saw your post to try and see if it would help, I'll resize back and post my results again in a couple minutes and thanks for the fast response!

These are the results for 10$ droplet
Code:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 62
model name      : Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz
stepping        : 4
microcode       : 0x1
cpu MHz         : 2399.998
cache size      : 15360 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov                                                                                                  pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc                                                                                                  arch_perfmon rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 ss                                                                                                 e4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_                                                                                                 lm vnmi ept fsgsbase tsc_adjust smep erms xsaveopt arat
bugs            :
bogomips        : 4799.99
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:
And no I haven't tried it without sourcemod running.. I will try that and see if it doesnt lag and crash anymore..

Last edited by k0r4y; 11-04-2016 at 01:25.
k0r4y is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 11-04-2016 , 01:33   Re: (VPS) Server lagging and then crashing..
Reply With Quote #4

Figured you weren't on a legacy node, those run the 3.4GHz, you're on the 2.4GHz.
Since you're running a surf server, or so it seems, this is going to be the problem.

You could try it without SourceMod and see if it still runs the same, but I've done this same thing and was remedied by switching to a legacy node.
They don't offer them, but because I have several legacy servers they allowed me to keep on that.

Sorry, but I really can't offer you anymore help other than to ask them about switching to a higher GHz CPU model.

Last edited by Maxximou5; 11-04-2016 at 01:34.
Maxximou5 is offline
k0r4y
Junior Member
Join Date: Nov 2016
Old 11-04-2016 , 01:42   Re: (VPS) Server lagging and then crashing..
Reply With Quote #5

Quote:
Originally Posted by Maxximou5 View Post
Figured you weren't on a legacy node, those run the 3.4GHz, you're on the 2.4GHz.
Since you're running a surf server, or so it seems, this is going to be the problem.

You could try it without SourceMod and see if it still runs the same, but I've done this same thing and was remedied by switching to a legacy node.
They don't offer them, but because I have several legacy servers they allowed me to keep on that.

Sorry, but I really can't offer you anymore help other than to ask them about switching to a higher GHz CPU model.
Haven't gotten to downsizing the droplet again but it seems like upgrading it to the 10$ actually helped, I'm not getting the map change crashes anymore, atleast not for now while testing it as a single player on the server.. maybe it will act up again.. I'll try mailing digital ocean and see if they could switch it for me. Thanks again!
k0r4y is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 11-04-2016 , 02:31   Re: (VPS) Server lagging and then crashing..
Reply With Quote #6

Sure thing, if you get it to work properly that's good and if you find anything that helps you in getting a solution be sure to post back for everyone else.
Best of luck and if there's anything else, let us know.
Maxximou5 is offline
Reply



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 13:06.


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