Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Any tips for a stable server?

Page: 1 of 1
 jaycougar
10-07-2003, 1:31 AM
#1
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.
 malinkie
10-07-2003, 8:23 AM
#2
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.
 jaycougar
10-07-2003, 8:33 AM
#3
thank you. what does the reconnect 3 thing do?
 malinkie
10-08-2003, 8:31 AM
#4
it sets the amount of times a player can reconnect to a server.
This can sometimes cause lag problems.
 Amidala from Chop Shop
10-08-2003, 5:19 PM
#5
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.
Page: 1 of 1