SRCDS Steam group


Lag on Join
#1
Hey all,

I have recently bought a dedicated server box in a datacentre and have setup a Garrys Mod server.

Specs:
Windows Server 2008 Standard
Dual Xeon 2.8ghz
6gb RAM

Now, this is just beyond me. Everytime a player joins, there is a massive lag spike. My current command line is:

Code:
@echo off
cls
echo Protecting srcds from crashes...
echo If you want to close srcds, close the srcds window and type Y depending on your language followed by Enter.
title Server Watchdog
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game garrysmod -port 27016 -tickrate 66 +map rp_evocity_v2d +maxplayers 40
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds

The settings in my server.cfg are (not all, just the ones I think could be related)
Code:
net_maxfilesize        30

sv_minrate        0
sv_maxrate        30000
decalfrequency        10
sv_maxupdaterate    66
sv_minupdaterate    10

cl_cmdrate 100
cl_updaterate 100
rate 50000

Also, when I type "rate" into the server console, it says that the rate is 10000, even though I have specified in server.cfg the rate is 50000

Please, if theres anymore info you need, I'd be more than happy to provide you with it. I'm dead keen on getting this fixed ASAP.

Thanks a tonne guys.
Reply
#2
What are your internet speeds?

Also this are client cmds and go into your config.cfg which is in C:\Program Files\Steam\steamapps\"Account Name"\counter-strike source\cstrike\cfg
Code:
cl_cmdrate 100
cl_updaterate 100
rate 50000
Reply
#3
(10-16-2010, 07:57 AM)helio Wrote:  What are your internet speeds?

Also this are client cmds and go into your config.cfg which is in C:\Program Files\Steam\steamapps\"Account Name"\counter-strike source\cstrike\cfg
Code:
cl_cmdrate 100
cl_updaterate 100
rate 50000

My internet speeds do not matter, but if you must know, I am syncing at 12mbps down and 1mbps up.

The server is hosted in a datacentre.

If they are client settings, how do I set the servers rates?
Reply
#4
(10-16-2010, 10:36 AM)CyanideIllusions Wrote:  If they are client settings, how do I set the servers rates?

In the server.cfg, add these:

Code:
sv_maxrate 35000
sv_maxcmdrate 100
sv_maxupdaterate 100
Reply
#5
(10-17-2010, 04:37 PM)Beaverbeliever Wrote:  
(10-16-2010, 10:36 AM)CyanideIllusions Wrote:  If they are client settings, how do I set the servers rates?

In the server.cfg, add these:

Code:
sv_maxrate 35000
sv_maxcmdrate 100
sv_maxupdaterate 100

Hey,

I have no got:

Code:
net_maxfilesize        30
fps_max         300
sv_minrate        0
sv_maxrate        35000
decalfrequency        10
sv_minupdaterate    10  
sv_maxupdaterate    100
sv_maxcmdrate 100

The lag is still there when someone spawns after joining the server.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)