AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   HL1 Servers (HLDS) (https://forums.alliedmods.net/forumdisplay.php?f=131)
-   -   Server Lags when there are 15+ Players (https://forums.alliedmods.net/showthread.php?t=327696)

siku 10-04-2020 12:19

Server Lags when there are 15+ Players
 
Hi Guys,

I recently purchased a VPS Server, with the following specs.

CPU Core2 Core
Memory 4GB RAM
Storage 30GB SSD
Operating SystemWindows 2008 R2 std
Bandwidth 1000 GB Bandwidth with 5Mbps Shared

The server runs fine up to 12 -15 players, but anytime it goes above 15 players there is slight increase in the ping plus it gets super choppy. Trying to spray becomes literally impossible. I am not sure if it is the server config or the bandwidth that is the problem.

Thanks for your help in advance boys. Cheers!

Edited: Server is for Counter Strike 1.6

Bacardi 10-04-2020 12:25

Re: Server Lags when there are 15+ Players
 
...and game is ?

siku 10-04-2020 12:30

Re: Server Lags when there are 15+ Players
 
CS 1.6, my bad missed to mention it. :oops:

Bacardi 10-04-2020 13:26

Re: Server Lags when there are 15+ Players
 
You maybe hit max bandwidth limit, I say maybe because you haven't tell, which sys_ticrate you run and what rates.

Pure guess. I assume now, if you run 100 updates.
Packet size 400 Bytes X 100 updates = 40 000 B/sec per player
40 KB/s * 15 players = 600 KB/s
600 KB/s * 8 = 4800 Kbps
4.8 Mbps

So, you can try limit players max rate:
sv_maxrate 40000
sv_minrate 30000

- this however cause choke to players when there is much action on server.

Another way is drop your updaterate:
66 updates X packet size 400 Bytes = 26400 B/sec per player
26.4 KB/s * 15 players = 396 KB/s
396 KB/s * 8 = 3168 Kbps
3.168 Mbps

So
sv_maxrate 0
sv_minrate 30000
sv_maxupdaterate 66
sv_minupdaterate 30


If you change rates, you should change map so players reconnect to server and server capped rates start working.

CPU could be another reason, why lag start but... try easier thing first.

Mordekay 10-04-2020 14:14

Re: Server Lags when there are 15+ Players
 
5Mbits shared?
Forget about changing rates, change your host.

siku 10-04-2020 14:19

Re: Server Lags when there are 15+ Players
 
It is my first time trying to run a server, so I am bit of a noob and there might be somethings which will not be as clear for me as they are for you. So hey, thanks for the info and help.

I did a check these are my current rates

sv_maxrate 25000
sv_minrate 2500
sv_maxupdaterate 60
sv_minupdaterate 30
sys_ticrate 1000

So what is your recommendation on what my rates should be.

Bacardi 10-04-2020 14:37

Re: Server Lags when there are 15+ Players
 
Try

sv_maxrate 0
sv_minrate 35000


All times are GMT -4. The time now is 12:09.

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