PDA

View Full Version : UO Server on linux - com_hunkmegs


RuThLeSs
03-16-2005, 12:31 PM
Just wondering if you can tell me what my servers com_hunkmegs should be for a 24 player BAS Server because i had it set to 128 and it lagged like hell with 16 players on, im not sure if its a memory thing but all my other settings are fine.

cvarwalk = 0


any help would be appreiciated.

RuThLeSs
03-16-2005, 01:59 PM
well unfortunately it wasnt the hunkmegs causing the lag, can someone be nice enough to post up there BAS server config for me plz.

thanks

Rockmonster
03-16-2005, 03:58 PM
What kind of system do you have this on? What is your connection type?

RuThLeSs
03-16-2005, 05:19 PM
its a p4 3ghz ht 1gb ram on a 100mb connection.

-{DwR}-|Krispy|
03-16-2005, 08:36 PM
Post your config, it most likely is a network issue. How much bandwith is allocated for this server and whats the max rate and min rate. Are there quite a few high pingers in the server?

RuThLeSs
03-17-2005, 08:06 AM
its not a network issue because all the other servers on my box are fine (i run 1 uo, 1 uo sd and 1 dm and there all around the 20 player mark)
:S

// Public Information
set sv_hostname "^4-|^1Scots Guards^4|-^3|^7Base Assault ^2Public ^7 Server"
set scr_motd "Welcome to the ^1sG^4|^7 Base Assault ^2Public ^7Server."
sets .Administrator "sG|Headquarters"
sets .Email "admin@sg-clan-uk.net"
sets .Location "London, UK"
sets .Url "www.sg-clan-uk.net"
sets .IRC "Quakenet - #scotsguards"

// Passwords
set g_password ""
set rconpassword "****"
set sv_privatePassword "****"

// General Settings
set scr_drawfriend "1"
set scr_friendlyfire "0"
set sv_maxClients "26"
set sv_privateClients "4"
set sv_maxRate "25000"
set sv_minPing "0"
set sv_maxPing "250"
set sv_fps "20"
set sv_pure "1"
set sv_cheats "0"
set sv_allowAnonymous "0"
set g_inactivity "0"
set sv_timeout "240"
set sv_zombietime "2"
set sv_kickBanTime "300"
set sv_floodprotect "1"
set sv_master1 "coduomaster.activision.com"
set sv_master2 "coduoauthorize.activision.com"
set sv_master3 ""
set sv_master4 ""
set sv_master5 ""
set sv_gamespy "1"
set scr_shellshock "1"
set scr_drophealth "0"
set scr_battlerank "1"
seta scr_teambalance 1

//PunkBuster
pb_sv_enable
wait

// Voting
set g_allowVote "0"
set g_allowvotetempbanuser "0"
set g_allowvotetempbanclient "0"
set g_allowvotekick "0"
set g_allowvoteclientkick "0"
set g_allowvotegametype "0"
set g_allowvotetypemap "0"
set g_allowvotemap "0"
set g_allowvotemaprotate "0"
set g_allowvotemaprestart "0"

// Logging
set g_log "games_uo_mp.log"
set logfile "1"

//Client Downloads
set sv_allowDownload "0"
set sv_wwwDownload "0"
set sv_wwwDlDisconnected "0"
set sv_wwwBaseUrl "http://www.sg-clan-uk.net/CoDMaps/"

// Weapon Settings
//weapon settings
set scr_allow_bar "1" //0 - disable weapon 1 - enable weapon
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_fg42 "0"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "1"
set scr_allow_panzerschreck "1"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"
set scr_allow_pistols "1"
set scr_allow_satchel "1"
set scr_allow_smoke "1"
set scr_allow_grenades "1"
set scr_allow_flamethrower "1"
set scr_allow_artillery "1"
set scr_allow_bazooka "1"
set scr_allow_mg34 "1"
set scr_allow_dp28 "1"
set scr_allow_mg30cal "1"
set scr_allow_gewehr43 "1"
set scr_allow_svt40 "1"

// Vehicle Settings
set g_vehicleBurnTime "10" //Default is 10
set scr_allow_jeeps "1"
set scr_allow_tanks "1"
set scr_vehicle_limit_jeep "99"
set scr_vehicle_limit_medium_tank "99"
set scr_vehicle_limit_heavy_tank "99"
set scr_vehicle_spawn_limit "99"
set scr_allow_flak88 "1"
set scr_allow_su152 "1"
set scr_allow_elefant "1"
set scr_allow_panzeriv "1"
set scr_allow_t34 "1"
set scr_allow_sherman "1"
set scr_allow_horch "1"
set scr_allow_gaz67b "1"
set scr_allow_willyjeep "1"

// TimeOuts
set g_timeoutsAllowed "0"
set g_timeoutLength "10000" // in milliseconds
set g_timeoutRecovery "5000"
set g_timeoutBank "0"

// KillCam
set scr_killcam "0"
set scr_freelook "0"
set scr_spectateenemy "0"

// Search and Destroy Settings (sd)
set scr_sd_graceperiod "15"
set scr_sd_roundlength "6"
set scr_sd_roundlimit "0"
set scr_sd_scorelimit "7"
set scr_sd_timelimit "0"

// Behind Enemy Lines Settings (bel)
set scr_bel_alivepointtime "10"
set scr_bel_scorelimit "50"
set scr_bel_timelimit "20"

// Retrieval Settings (re)
set scr_re_graceperiod "15"
set scr_re_roundlength "4"
set scr_re_roundlimit "10"
set scr_re_scorelimit "0"
set scr_re_showcarrier "0"
set scr_re_timelimit "0"

// Team Deathmatch Settings (tdm)
set scr_tdm_scorelimit "0"
set scr_tdm_timelimit "20"

// Deathmatch Settings (dm)
set scr_dm_scorelimit "0"
set scr_dm_timelimit "20"

// Headquarters Settings (hq)
set scr_hq_timelimit "20"
set scr_hq_scorelimit "450"

// Base Assault Settings (bas)
scr_bas_scorelimit "8"
scr_bas_timelimit "60"
scr_bas_roundlimit "2"
scr_bas_roundlength "30"
scr_bas_respawn_wave_time "10"
scr_bas_startrounddelay "10"
scr_bas_endrounddelay "10"
scr_bas_clearscoreeachround "0"
set scr_bas_killcam 0

// Capture the Flag Settings (ctf)
set scr_ctf_scorelimit "3"
set scr_ctf_timelimit "30"
set scr_ctf_roundlimit "5"
set scr_ctf_roundlength "30"
set scr_ctf_startrounddelay "15"
set scr_ctf_endrounddelay "10"
set scr_ctf_clearscoreeachround "1"

// Domination Settings (dom)
set scr_dom_scorelimit "3"
set scr_dom_timelimit "120"
set scr_dom_roundlimit "5"
set scr_dom_roundlength "30"
set scr_dom_respawn_wave_time "10"
set scr_dom_startrounddelay "15"
set scr_dom_endrounddelay "10"
set scr_dom_clearscoreeachround "1"

// Set starting game type
set g_gametype "bas" //gametype: bel, dm, re, sd, tdm, hq, dom, bas, ctf, bop

//Map Rotation
set sv_maprotation "gametype bas map mp_foy gametype bas map mp_italy gametype bas map mp_kursk gametype bas map mp_ponyri gametype bas map mp_rhinevalley"
map_rotate

RuThLeSs
03-17-2005, 12:11 PM
ok its a cpu problem, im getting 90-97% usage with 20 players wtf?

all the other servers are empty

Rockmonster
03-17-2005, 06:12 PM
Linux or Windows, Dedicated or Shared? And you say that you have other servers running, how many and of what games?

RuThLeSs
03-19-2005, 09:21 AM
its a dedicated linux box.

the other 2 servers are
1 HoB 24 player
1 Uo:SD, so no jeeps etc

i tried shutting them both down and it makes no diffrence

RuThLeSs
03-22-2005, 04:35 AM
anybody have any ideas?

MajorWoody
03-22-2005, 09:47 AM
BAS is a cpu hog, drop the vehicles maybe.

Also, on the hunkmegs score you can use "/rcon meminfo" to find out the memory usage of the server. The default of 128meg is *usually* enough.

You could toy with the CPU priority.

Are you running kernel 2.6? SMP enabled?

arsemaster
03-22-2005, 01:32 PM
i can only speak from a Windows 2003 side
I am running 1 GB of ram on a 3.1 Intel machine, running a 30 slot AWE mod UO server, a 20 slot Cod TWL match server and i usually runn about 50% CPU when they are full . I dedicate about 400 meg to the UO and 200 to the COD

RuThLeSs
03-22-2005, 01:49 PM
no idea about the kernels mate,

i have 400 mem dedicate to the one UO server and im still getting pings of 400-800 on occasions.

-{DwR}-|Krispy|
03-22-2005, 10:17 PM
Are there any mods running on this server? What else in running on the server other than game servers?

RuThLeSs
03-23-2005, 06:16 PM
nope no mods, and there nothing else running on itr apart from the 2 servers i put up earlier

MajorWoody
03-23-2005, 07:26 PM
Have you tried upping the priority or setting the affinity?

RuThLeSs
03-25-2005, 08:20 AM
no, how do i do that?

Rockmonster
03-25-2005, 06:46 PM
Hmm, well UO is a CPU hog. Right now though I run 3 UO servers on a dual pentium 2.8GHZ. I also run 3 SOF2 servers and 1 CS 1.6 server.

In linux you can type the command "top" and see how much of the CPU UO is taking up. When I get home and get a chance I will take a look at your config and see if anything bites me.

RuThLeSs
03-26-2005, 07:10 AM
thanks man