SRCDS Steam group


Amd64 High CPU usage problem - SOLVED
#1
Hi, I'm trying to set up a dedicated servers for my University Gaming Association.

I currently have a TF2 server running with absolutely no problems whatsoever. However when I run the following commands to start up the cstrike server the "srcds_amd" process immediately jumps to 50% of the CPU. I also noticed that the TF2 server does not use the "srcds_amd" but instead "srcds_i486".

Server system info:
Code:
Linux 2.6.23-gentoo-kuga #9 Wed Nov 28 15:24:48 GMT 2007 x86_64 AMD Athlon(tm) 64 Processor 2800+ AuthenticAMD GNU/Linux

The command I run:
Code:
./srcds_run -game cstrike -insecure -ip xxx.xxx.xxx.xxx -port 27015 -maxplayers 16 -tickrate 66 +sv_lan 1 +map de_dust2 +fps_max 300

I've tried various different options here with no obvious difference to the CPU usage (apart from dropping the tickrate to below 33). I've also installed srcds and successfully run this command on my own (Ubuntu) system with no problems.

I've also checked for looping configs, removed all addons and mods, and tried the obvious reboot solutions.

I would appreciate any help with this because to be honest I'm stumped.
Reply
#2
Code:
./srcds_run -game cstrike -insecure -ip xxx.xxx.xxx.xxx -port 27015 -maxplayers 16 -tickrate 66 +sv_lan 1 +map de_dust2 +fps_max 300
this is cs:s command line
How many ded server you have at server?
from Russia with love
Reply
#3
Filoret Wrote:
Code:
./srcds_run -game cstrike -insecure -ip xxx.xxx.xxx.xxx -port 27015 -maxplayers 16 -tickrate 66 +sv_lan 1 +map de_dust2 +fps_max 300
this is cs:s command line
How many ded server you have at server?

I've tried it with just the cstrike server and still the same problem (and yes sorry I meant cs:s).
Reply
#4
do you have any startup log?
disable all mods
try to del all variables from server.cfg but rcon_password - start with default
and start server
is there are else servers? mysql, webserver or else??? or only srcds?
did you try to use somethig else than Linux gentoo
from Russia with love
Reply
#5
Here's the startup output:
Code:
matt@kucs ~/steam $ ./srcds_run -game cstrike -insecure -ip xxx.xxx.xxx.xxx -port 27015 -maxplayers 16 -tickrate 66 +sv_lan 1 +map de_dust2 +fps_max 300
Auto detecting CPU
Using AMD-Opteron (64 bit) Optimised binary.
Server will auto-restart if there is a crash.

Console initialized.
Game.dll loaded for "Counter-Strike: Source"
maxplayers set to 16
Network: IP xxx.xxx.xxx.xxx, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
couldn't exec skill1.cfg
Executing dedicated server config file
Error: Material "sprites/bubble" : proxy "AnimatedTexture" not found!
Section [Scenes]: 0 resources total 0 bytes, 0.00 % of limit (2.10 MB)

All mods are disabled.
All values deleted from server.cfg as you suggested.
The server does run a apache/mysql/php service as well, but takes up little resources as it is very infrequently visited (however still necessary).
I've rsync'd the files all over to my ubuntu PC and everything works fine on there (but different hardware so I suppose the problem is the OS/harware combo), but we have not tried a different distro on the server itself.

A copy of the local top:
Code:
PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
30676 matt      20   0  137m  65m  13m R 42.0  6.6   0:07.16 srcds_amd
Reply
#6
I found the problem.
The server is behind a firewall which disallows all connection to the internet outside, and although it would let me run them fine without speaking to valve just by using "+sv_lan -insecure", just adding the extra option "-nomaster" solved all my problems. Try it!
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)