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

[TF2] Server skipping/lag problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mikehawk1339
Member
Join Date: May 2011
Old 10-10-2011 , 10:32   [TF2] Server skipping/lag problem
Reply With Quote #1

I run some TF2 servers and for some reason I will get a weird skipping problem. It is an odd error to me, but hopefully someone can help. What I notice happen is that when I start the servers everything is fine. However after they are online for a random amount of time, they will start skipping and everyone on the server notices. To fix it, I either have to restart the server or change the map. But if I change the map, the demo man loses his primary weapon. So I was only able to use melee since I had a melee weapon and the demo shield. There are no SM/MM ect plugins restricting weapons.

Here is a video of what I am talking about.
http://www.youtube.com/watch?v=f5Av2IcZywQ

These are some notes about the problem.
-This happens on servers with SM/MM and pure TF2 servers without any plugins installed.
-All my TF2 servers eventually run into this problem, and the time it takes varies.
-The server box itself is fine. Processor/RAM/HD/connection ect usages are fine. CSS servers on the same server box still work fine and are not affected by the TF2 servers skipping.
-The same thing happened on my previous server box over a year ago, but I just recently decided to run TF2 servers again.
-My computer is not lagging. This is how it really is for everyone on the server.
-Restarting each TF2 server will fix the lag problem, but only for a random time before they lag again.
-Changing the map on a server that is skipping will fix the problem, but the demo man primary weapon will be restricted. (This was done on servers with SM/MM installed. I did not try this on a pure TF2 server).
-Server OS is Windows 2008 x64 RC2
mikehawk1339 is offline
gamemann
Veteran Member
Join Date: Sep 2009
Location: Mullica Hill, New Jersey
Old 10-10-2011 , 17:13   Re: [TF2] Server skipping/lag problem
Reply With Quote #2

give me your server.cfg
and list of plugins?
__________________
Software/network engineer. I often work on a neat project called The Modding Community.

Check out my GitHub here!
gamemann is offline
Send a message via Skype™ to gamemann
mikehawk1339
Member
Join Date: May 2011
Old 10-11-2011 , 09:28   Re: [TF2] Server skipping/lag problem
Reply With Quote #3

Quote:
Originally Posted by gamemann View Post
give me your server.cfg
and list of plugins?
Here is the server.cfg for one of the servers.
Code:
sv_region 255
sv_lan 0
sv_pure 1
sv_alltalk 1
sv_consistency 0
sv_visiblemaxplayers 31
sv_allow_votes 0
mp_allowspectators 1 
mp_idlemaxtime 99999
mp_idledealmethod 0
mp_fraglimit 0
mp_maxrounds 0
mp_timelimit 0
mp_winlimit 0 
mp_disable_respawn_times 1
mp_respawnwavetime 1
mp_autoteambalance 0
mp_teams_unbalance_limit 20
sv_logbans 1 
sv_logecho 0
sv_logfile 1 
sv_logsdir "logs"

And the plugins for the ones with SM/MM. Keep in mind my pure tf2 servers without any plugins or custom .cfg's have the same problem.
Code:
 "Admin File Reader" (1.3.6) by AlliedModders LLC
 "Admin Help" (1.3.6) by AlliedModders LLC
 "Basic Ban Commands" (1.3.6) by AlliedModders LLC
 "Admin Menu" (1.3.6) by AlliedModders LLC
 "Basic Chat" (1.3.6) by AlliedModders LLC
 "Anti-Flood" (1.3.6) by AlliedModders LLC
 "Basic Comm Control" (1.3.6) by AlliedModders LLC
 "Basic Commands" (1.3.6) by AlliedModders LLC
 "Basic Info Triggers" (1.3.6) by AlliedModders LLC
 "Basic Votes" (1.3.6) by AlliedModders LLC
 "[TF2] Be the Horsemann" (1.1) by FlaminSarge
 "TF2 Build Restrictions" (0.5.5) by Tsunami
 "Client Preferences" (1.3.6) by AlliedModders LLC
 "DeadChat" (2.0) by Greyscale
 "Destroy Engineer Buildings" (1.0.2) by bl4nk
 "TF2 Fast Respawn" (1.2) by Tsunami
 "Fun Commands" (1.3.6) by AlliedModders LLC
 "TF2 Godmode" (1.0) by ratty-modified by Seb
 "[TF2] Horseless Headless Horsemann" (1.1) by Geit
 "[TF2] Fake Item Messages" (1.2.0) by DarthNinja
 "Sapper Immunity" (1.5.0) by DarthNinja
 "Player Commands" (1.3.6) by AlliedModders LLC
 "Sound Commands" (1.3.6) by AlliedModders LLC
 "Reserved Slots" (1.3.6) by AlliedModders LLC
 "Stunmod" (1.3.3.7) by DarthNinja
 "TF2 Full Infinite Ammo" (2.1.0) by Tylerst
 "[TF2Items] Manager" (1.4.1) by Damizean & Asherkin
 "[TF2Items] Give Weapon" (3.05) by asherkin (Updated by FlaminSarge)
 "[Any] Who's Free?" (1.0.0) by DarthNinja
mikehawk1339 is offline
gamemann
Veteran Member
Join Date: Sep 2009
Location: Mullica Hill, New Jersey
Old 10-12-2011 , 07:07   Re: [TF2] Server skipping/lag problem
Reply With Quote #4

sv_maxrate and all of the rates... Thats what i really need :O
__________________
Software/network engineer. I often work on a neat project called The Modding Community.

Check out my GitHub here!
gamemann is offline
Send a message via Skype™ to gamemann
mikehawk1339
Member
Join Date: May 2011
Old 10-12-2011 , 10:09   Re: [TF2] Server skipping/lag problem
Reply With Quote #5

They are the default values.

Code:
sv_maxrate 0
sv_minrate 3500
sv_maxcmdrate 66
sv_mincmdrate 10
sv_maxupdaterate 66
mikehawk1339 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-12-2011 , 12:25   Re: [TF2] Server skipping/lag problem
Reply With Quote #6

You allow players use too low rates.

And if players can't set rates by self in their own game via console,
they will play default values what cause lagging (Like what video showed)

You haven't tell your upload bandwidth and maxplayers ??, but try first
Code:
sv_minupdaterate 33
sv_mincmdrate 33
sv_maxupdaterate 66
sv_maxcmdrate 66
sv_minrate 30000
sv_maxrate 50000
__________________
Do not Private Message @me
Bacardi is offline
mikehawk1339
Member
Join Date: May 2011
Old 10-12-2011 , 12:54   Re: [TF2] Server skipping/lag problem
Reply With Quote #7

I will try those values in a little bit. To answer your question about bandwidth and max players. The server has 100mbps connection and each tf2 server ranges from 20-31 players, 31 being the max slots per server. But even servers with less than 10 players will experience the same problem. All the servers don't go anywhere near the bandwidth capacity.
mikehawk1339 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-12-2011 , 13:11   Re: [TF2] Server skipping/lag problem
Reply With Quote #8

You could try also
Code:
"net_splitpacket_maxrate" = "30000" ( def. "15000" ) min. 1000.000000 max. 1048576.000000
 - Max bytes per second when queueing splitpacket chunks
If any help

Somewhere have discussed
__________________
Do not Private Message @me
Bacardi is offline
mikehawk1339
Member
Join Date: May 2011
Old 10-12-2011 , 13:17   Re: [TF2] Server skipping/lag problem
Reply With Quote #9

I will try the different rates first, then the net packet. It will take awhile to test because the lag problem usually take awhile.

The part that is still strange is that if the map is changed, the skipping problem is gone, even with the same players in the server. But then the demo man primary weapon is restricted for some unknown reason.
mikehawk1339 is offline
gamemann
Veteran Member
Join Date: Sep 2009
Location: Mullica Hill, New Jersey
Old 10-12-2011 , 15:28   Re: [TF2] Server skipping/lag problem
Reply With Quote #10

yes 3500 is very very low and i tried that just for test on my server, it lagged it badly.
edit:
100 mbps? thats good. my server is 1000 mbps but this will also work.
Code:
sv_minrate 50000
sv_maxrate 100000
sv_maxupdaterate 66
sv_minupdaterate 33
sv_maxcmdrate 66
sv_mincmdrate 33
try those.
__________________
Software/network engineer. I often work on a neat project called The Modding Community.

Check out my GitHub here!

Last edited by gamemann; 10-12-2011 at 15:30.
gamemann is offline
Send a message via Skype™ to gamemann
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 03:10.


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