Can anyone tell me any command lines to make my server more stable. It crashes all the time. any hints or tips also? it is a dedicated linux box.
seta com_hunkMegs "32"
seta com_zoneMegs "16"
seta com_soundMegs "16"
seta sv_maxRate "10000"
seta sv_reconnectLimit "3"
seta sv_zombietime "30"
seta sv_floodProtect "1"
If you put these in your server.cfg, they should help stablize your server
Hope this helps.
thank you. what does the reconnect 3 thing do?
it sets the amount of times a player can reconnect to a server.
This can sometimes cause lag problems.
Originally posted by malinkie
seta com_hunkMegs "32"
seta com_zoneMegs "16"
seta com_soundMegs "16"
seta sv_maxRate "10000"
seta sv_reconnectLimit "3"
seta sv_zombietime "30"
seta sv_floodProtect "1"
If you put these in your server.cfg, they should help stablize your server
Hope this helps.
The default value for com_hunkMegs is 64, so setting it to 32 actually decreases the memory available to the game, which would make it less stable, not more. Leave it at 64.
sv_maxRate is one of the most important cvars, and it is dependent on your upload bandwidth. The higher it is set, the fewer players you can host. If sv_maxrate and sv_maxclients exceed your bandwidth, everyone will lag out. The formula is sv_maxrate = bandwidth (bytes per sec)\ sv_maxclients. So if you have 256Kb upload bandwidth (DSL or cable), 256,000 \8=32,000 bytes per sec. If you want to host 8 players, 32,000\8 = 4000, so sv_maxrate should be 4000. If you use sv_maxrate 10000, 32,000\10,000= 3.2 players.