SRCDS Steam group


Need help unlagging TF2 Server
#1
Hi,

BASIC INFO
Server OS: Windows Server 2003 32-bit
Processor: DUAL Core AMD Opteron 1212 2Ghz
Ram: 2GB
Game(s): Team Fortress 2
Start Up Command: -game tf -norestart -tickrate 66 -nocrashdialog +ip 85.25.147.65 -port 27015 +maxplayers 24 +map ctf_2fort -console +exec server.cfg
Admin Mods: SourceMod, MetaMod

I am trying to setup a TF2 Server on Windows Server 2003.
But everyone lags on the Server a bit. If I am dead and spectating people, I get a lot of choke(20-90) when i switch between the people. Sometimes it takes 1-2 seconds to switch to then next person.
Sometimes the Server lags so hard for a short time that everyone freezes and warps a few meters.
The Pings on the Server are fine from 10-60 deppending on where the people are from.

The servers FPS is very unstable, I dont know if it is normal....

I´m running a Apache Webserver, Filezilla FTP Server, SmartMail Mailserver and a mysql Database on the Server.
I already shutted everything except the mysql Server down but it dident change anything.

Here is a pic of the Server CPU and RAM. And u can see the cpu load and the unstable server fps.
[Image: serverzqx.th.jpg]

The Server is running with these netsettings. I already tried to running it with the default Settings but it still lags.

It´s a 66 tickrate Server.

It is started with "ServerChecker". And I am running Windows Media Player in the background.

Code:
fps_max "600"
sv_region 3
sv_pure 1

// Maximum allowed brandwidth on your server.
// Default: 0 (unlimited)
sv_maxrate 30000


// Minimum allowed brandwidth on your server.
// Default: 0 (unlimited)
sv_minrate 3500  


// Maximum updates per second as the server will allow.
// Default: 60
// Note: If you're using less than 100Tick, change this CVAR to a lower value.
// For 100TICK: sv_maxupdaterate 100
// For 66TICK: sv_maxupdaterate 66
// For 33TICK: sv_maxupdaterate 33
sv_maxupdaterate 66


// Minimum updates per second as the server will allow.
// Default: 10
// Note: If you're using less than 100Tick, change this CVAR to a lower value than "sv_maxupdaterate xx"
// For 100TICK: sv_minupdaterate 75
// For 66TICK: sv_minupdaterate 45
// For 33TICK: sv_minupdaterate 15
sv_minupdaterate 45


// This controls your cleints maximum cmdrate.
// Do the same with this one like: sv_maxupdaterate
// Default: 40
sv_maxcmdrate 66


// This controls your cleints minimum cmdrate.
// Do the same with this one like: sv_minupdaterate
// Default: 0
sv_mincmdrate 0


// Enables player lag compensation.
// Default: 1
sv_unlag 1

And my networks speed...

[Image: 541196635.png]


Tell me if you need any other information.

Sorry for my bad english, i am from germany.
Reply
#2
How many slots are you running including what tickrate?
Reply
#3
realchamp Wrote:How many slots are you running including what tickrate?

24 maxplayer with 4 hidden slots so 20 Slots...
tickrate 66
Reply
#4
Is the server in a datacenter or hosted at your home?

And how many players are in when it starts to lag? Does it lag with like 5players in?
Reply
#5
realchamp Wrote:Is the server in a datacenter or hosted at your home?

It´s in a datacenter.

It lags with 2-3 people in it not as hard as if there were 20 players but is lags
Reply
#6
Okay.

I edited my last post.

How many players are in when it starts to lag? I've a doubt about your CPU can't handle it.

And also, maybe this FPS booster will be better. I use it for my Counter-Strike: Source server to recieve 1000.00FPS.
http://www.steamfriends.com/forums/index.php?autocom=downloads&showfile=62
(This link is for orangebox). Disable WMP and server checker. Maybe it will make it more stabile.


Does it lag with like 5 players in?
Reply
#7
realchamp Wrote:Okay.

I edited my last post.

How many players are in when it starts to lag? I've a doubt about your CPU can't handle it.

And also, maybe this FPS booster will be better. I use it for my Counter-Strike: Source server to recieve 1000.00FPS.
http://www.steamfriends.com/forums/index.php?autocom=downloads&showfile=62
(This link is for orangebox). Disable WMP and server checker. Maybe it will make it more stabile.


Does it lag with like 5 players in?

I added your fps booster (thanks).

If I disable Server checker what program should i use to restart the server ?

If updated my last post too Smile It already lags with 2-3 people in
Reply
#8
Edit: Are the net settings ok ?
Reply
#9
The net settings are fine. Your internet connection should easily handle 3 more servers.

Are the MySQL server very busy? Check it's CPU usage.
Reply
#10
realchamp Wrote:The net settings are fine. Your internet connection should easily handle 3 more servers.

Are the MySQL server very busy? Check it's CPU usage.


The MySQL is just running the Teamspeak database and the SourceBans(Admin Database).

It´s like 0% load
[Image: sqlk.th.jpg]
[Image: sql2.th.jpg]

It just started the Server with a batch file and used your fps booster.
Now the Server only gets 10-30 FPS o_O
[Image: server2f.th.jpg]
Reply
#11
That was weird.

Is it only you who feel the lag?

Or is it everyone?

And try with: sv_minrate 15000
Reply
#12
realchamp Wrote:That was weird.

Is it only you who feel the lag?

Or is it everyone?

And try with: sv_minrate 15000

It´s not only me there are some people saying "lag?" and this stuff....
Reply
#13
hmm I'll guess it's the connection then. It maybe be unstable. Even it's fast enough. There can be holes.
Reply
#14
realchamp Wrote:hmm I'll guess it's the connection then. It maybe be unstable. Even it's fast enough. There can be holes.

Is it possible for me to check if it is the connection ? And then tell the people at the datacenter to fix it ?
Reply
#15
Not sure how to check it, besides the actual action when it happens. And I strongly believe it's the internet connection, the speed is fine, the computer is fine. But I think it's the quallity of those 40/40mbit. Since my home connection has holes too(my home server), compared to GSPs.
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)