Optimal server settings?


I’m trying to run a server with at least 50-60 full slots, however even on sandbox the server CPU hits 100% (3.4ghz cpu) with 34 users.

Is there anything that can be done with regards to this to make a server more reliable or such? I’ve seen several servers run at least 50~ players without a too much of a noticeable lag.

Thank you in advance for your tips.

Don’t use too much addons :stuck_out_tongue:
Make sure you restrict all the stuff that players can use to slow down the server.

Yeah there are barely any addons. I’m not sure if there’s something else done wrong. These are our settings:

rcon_password ""
sv_password ""
sv_allowupload 1
sv_allowdownload 1       
fps_max "1000"
host_framerate 100
decalfrequency 20
sv_lan 0   
sv_region 255
phys_timescale 1
net_maxfilesize "128"

sv_minrate 20000
sv_maxrate 0
fps_max 600

sv_logfile 1 
sv_logbans 1 
sv_logecho 1 

sv_rcon_banpenalty 15 
sv_rcon_maxfailures 3
sv_rcon_minfailures 1
sv_rcon_minfailuretime 30 

//Execute ban files
exec banned_ip.cfg
exec banned_user.cfg

Disable sv_allowupload and sv_allowdownload, limit sv_maxrate, lower sv_minrate, change fps_max to something closer to 128, and look into decreasing physics iterations etc.

It’s all about the code you’re running. A lower tickrate tends to help as well.

Thank you sirs I’ll be back with results. :slight_smile: