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

[CSGO] Server chokes/lags randomly


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 12-27-2013 , 13:41   [CSGO] Server chokes/lags randomly
Reply With Quote #1

Is sever choke cause by high CPU load or is it a networking issue?

I've only noticed lag and choke on my SlayersJB server, which can have up to 44 players on it.
Sometimes it will have a lot of players and it will randomly choke and lag at certain times, other times it will run completely smoothly.

I wonder if it's a ddos attack or just CPU load, the CPU averages 20-35%, never seen it higher than 39%

------
edit: I spoke to my host and they said

Quote:
Choke is cause by the server having more information to send your client than it is allowed to, so some of that information gets lost. CPU usage is not usually a factor.

does that mean I can change the rates or cvars for upload/download?
__________________
PresidentEvil is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 12-27-2013 , 17:02   Re: [CSGO] Server chokes/lags randomly
Reply With Quote #2

Yes you can use rates to limit client's rates in your server.cfg so they won't get more bandwidth than the server can handle.

PHP Code:
// Min bandwidth rate allowed on server, 0 == unlimited

sv_minrate 13000

// Max bandwidth rate allowed on server, 0 == unlimited

sv_maxrate 80000

// Minimum updates per second that the server will allow

sv_minupdaterate 33

// Maximum updates per second that the server will allow

sv_maxupdaterate 67

sv_mincmdrate 33

sv_maxcmdrate 67 
__________________

Last edited by luki1412; 12-27-2013 at 17:03.
luki1412 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-27-2013 , 17:09   Re: [CSGO] Server chokes/lags randomly
Reply With Quote #3

If players get choke:
- They rate is too low or some reason not suck all packet to itself.

You should raise min rate value so they can't use too low rate value.
Players default rate is 80000

*edit
But over 30 players in cs:go is too much anyway. That is not Battlefield game you know ?

Last edited by Bacardi; 12-27-2013 at 17:10.
Bacardi is offline
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 12-27-2013 , 18:08   Re: [CSGO] Server chokes/lags randomly
Reply With Quote #4

Quote:
Originally Posted by luki1412 View Post
Yes you can use rates to limit client's rates in your server.cfg so they won't get more bandwidth than the server can handle.

PHP Code:
// Min bandwidth rate allowed on server, 0 == unlimited

sv_minrate 13000

// Max bandwidth rate allowed on server, 0 == unlimited

sv_maxrate 80000

// Minimum updates per second that the server will allow

sv_minupdaterate 33

// Maximum updates per second that the server will allow

sv_maxupdaterate 67

sv_mincmdrate 33

sv_maxcmdrate 67 


my rates already were:

sv_maxrate 0
sv_minrate 128000

what should I change this too?
__________________

Last edited by PresidentEvil; 12-27-2013 at 18:09.
PresidentEvil is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 12-27-2013 , 19:06   Re: [CSGO] Server chokes/lags randomly
Reply With Quote #5

lol bacardi
Quote:
But over 30 players in cs:go is too much anyway. That is not Battlefield game you know ?
If the server has to much information to send, then why not drop the server tickrate?! 128 tick and for 40 players... that has to be stressing cpu/network!
hamilton5 is offline
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 12-27-2013 , 21:16   Re: [CSGO] Server chokes/lags randomly
Reply With Quote #6

Quote:
Originally Posted by hamilton5 View Post
lol bacardi


If the server has to much information to send, then why not drop the server tickrate?! 128 tick and for 40 players... that has to be stressing cpu/network!
its 64, 128 for 48 players would be insane, its just jailbreak after all
__________________
PresidentEvil is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-28-2013 , 03:05   Re: [CSGO] Server chokes/lags randomly
Reply With Quote #7

could it be this tickrate problem OS Windows ?
http://forums.alliedmods.net/showthr...00#post2029600

*edit
Is it zombie server ? jail...

Could you hit in your own game console +graph and take a screenshot when lag happens or loss ?
Like in this post https://forums.alliedmods.net/showpo...55&postcount=6

*edit
Try set server tickrate 102.4 and restrict player updaterate example to 64
Some reason sv_maxcmdrate and sv_maxupdaterate are hidden cvars and follows server tickrate, use sm_cvar command to change those

Last edited by Bacardi; 12-28-2013 at 03:29.
Bacardi 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 10:10.


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