SRCDS Steam group


[ABANDONED] Mapchange takes over 9 minutes, odd errors.
#1
Server specs:
CPU: Intel Core 2 Duo E8400 3.0GHz, less than 5% load.
RAM: 4GB DDR2 Kingston, 268MB free when running srcds
HDD: 160GB IBM SATA 3.0Gbps drive, 7200rpm 8MB cache
NET: Full duplex gigabit ethernet
OS: Fedora 13, x86_64 kernel 2.6.33.5-124
SELinux: Enforcing, configured.
Firewall: iptables configured, allowing all outgoing connections, filtering inputs. Accepting TCP/UDP traffic on port 27015.
IP: Server: 192.168.250.253, Client: 192.168.250.1

Used plugins: none
Launch command:
Code:
screen -A -m -d -S cssserver ./srcds_run -console -game cstrike +map de_dust2 +maxplayers 32 -ip 192.168.250.253 -port 27015 +fps_max 600 -tickrate 100 -tick 100 -autoupdate
Actual tickrate: 67 (-tickrate 100 has no effect)

Directory structure: /home/steam/srcds/ (not used !)
- hldsupdatetool.bin
- orangebox (folder)
- srcds_run
- ... various

Directory structure: /home/steam/srcds/orangebox
- srcds_run
- srcds_linux
- cstrike
- ... various


Log:
Code:
[steam@DDBS-2U1 cfg]$ cssserver_start
Starting Counter-Strike Source server as user steam
* Screen session was successfully created.
Use screen -x cssserver to attach this screen session.
[steam@DDBS-2U1 cfg]$ screen -x cssserver
Setting breakpad minidump AppID = 240
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Installing breakpad exception handler for appid(240)/version(4252)
maxplayers set to 32
Unknown command "r_decal_cullsize"
maxplayers set to 32
Network: IP 192.168.250.253, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient.dll. Continuing with current version anyway.
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
exec: couldn't exec banned_user.cfg
exec: couldn't exec banned_ip.cfg
Unknown command "zb_active"
Connection to Steam servers successful.
   VAC secure mode is activated.

(((SERVER IS RUNNING JUST FINE HERE)))

Client "Cracker (BE) @MP3" connected (192.168.250.1:27005).
Game will not start until both teams have players.
autokick is disabled for Cracker (BE) @MP3
rcon from "192.168.250.1:56352": command "changelevel de_dust"
---- Host_Changelevel ----
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file
CAsyncIOManager: 0 threads terminating.  0 reads, 0 writes, 0 deferrals.
CAsyncIOManager: 0 single object sleeps, 0 multi object sleeps
CAsyncIOManager: 0 single object alertable sleeps, 0 multi object alertable sleeps
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient.dll. Continuing with current version anyway.

(((
CLIENT TIMES OUT HERE AFTER 5 MINUTES
Then, after another minute (6 minutes after mapchange) it continues with
)))

*********************************************************
*       Unable to load Steam support library.*
*       This server will operate in LAN mode only.*
*********************************************************

(((
Keep in mind that all incoming connections at this time will time out.
After another 3 minutes waiting it continues again
)))

exec: couldn't exec banned_user.cfg
exec: couldn't exec banned_ip.cfg
Unknown command "zb_active"
Unable to load Steam library.
192.168.250.1:27005:reconnect
Dropped Cracker (BE) @MP3 from server (Connection closing)
Client "Cracker (BE) @MP3" connected (192.168.250.1:27005).
Game will not start until both teams have players.

Note:
- Client timeout after mapchange using rcon (same with Mani-admin), other services are still running fine.
- I suspect the loading to succeed after programmed timeouts, the freezes occur exactly at 5, 1 and 3 minute intervals.


Server config:
Code:
// server name
hostname "DDBS-2U1 pub server (Cracker) +Mani FastDL"

// rcon passsword
rcon_password "MyRCONpasswordThatYouMustNotKnow"

// server cvars
mp_friendlyfire 1
mp_footsteps 1
mp_autoteambalance 1
mp_autokick 0
mp_flashlight 1
mp_tkpunish 0
mp_forcecamera 1
sv_alltalk 0
sv_pausable 0
sv_cheats 0
sv_consistency 1

//Downloadurl CVARS
sv_downloadurl "http://192.168.250.253:82/"
sv_allowupload 1
sv_allowdownload 1
sv_maxspeed 320
mp_limitteams 2
mp_hostagepenalty 0
sv_voiceenable 1
mp_allowspectators 1
mp_timelimit 50
mp_chattime 10
sv_timeout 25

// round specific cvars
mp_freezetime 2
mp_roundtime 5
mp_startmoney 800
mp_c4timer 45
mp_fraglimit 0
mp_maxrounds 0
mp_winlimit 0
mp_playerid 0
mp_spawnprotectiontime 3

// bandwidth rates/settings
// http://whisper.ausgamers.com/wiki/index.php/Tickrate
sv_minrate 0
sv_maxrate 28000
decalfrequency 10
sv_maxupdaterate 100
sv_minupdaterate 60

//The maximum amount of updates per second the client will request from the server.
//cl_updaterate overrides the servers sv_maxupdaterate setting if cl_updaterate is less than the servers sv_maxupdaterate setting. Default=20
//cl_updaterate 100
//The Maximum amount of Updates Per Second the Client will Send to the server. Default=30 Minimum=10 Maximum=100
//cl_cmdrate 100

// server logging
log off
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 0

// operation
sv_lan 1
sv_region 3
sv_contact inbox@bjornroesbeke.be

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

// admin plugins
//exec mani_server.cfg
//exec mani_quake_sounds.cfg

bot_chatter off
sv_turbophysics 1
zb_active 1

Furthermore clients can't find the LAN server.

I've ran CS source servers before but each with their issues, i've had server crashes at restarts, servers refusing to accept RCON,... but this is by far the most aggravating error.
The output lists some errors but i'm not a HLDS developer, i don't know what they mean and how to fix them.

Think with me, how can i solve this?
Thanks in advance !
Steam username for communication: root_admin (but i'm just a regular user)
Reply
#2
Bump / update:
- Tickrate is stuck at tick 66/67 because Valve removed the -tickrate argument.
- FPS is set to 600, i have absolutely no idea what fps i'm actually getting as this server wasn't fully tested yet.

Update 2:
Code:
] rcon stats
autokick is disabled for Cracker (BE) @MP3
CPU   In    Out   Uptime  Users   FPS    Players
0.00 4920.92 4612.82    1515     2  470.37       1

Update 3:
Same with -nomaster

Update 4 (6th july 2010):
Code:
INDEX | AUTOUPDATE | NOMASTER | SV_LAN 1 | SERVER  | CLIENT  | VAC | WORKS?
------+------------+----------+----------+---------+---------+-----+--------------------------
   1  |     YES    |          |          | ONLINE  | ONLINE  | YES | YES, HANGS ON MAPCHANGE !
   2  |     YES    |          |   YES *  | ONLINE  | ONLINE  | YES | YES, HANGS ON MAPCHANGE !
   3  |     YES    |          |   YES    | ONLINE  | ONLINE  | NO  | YES, DOES NOT HANG !!!!!!
   4  |     YES    |   YES    |          | ONLINE  | ONLINE  | YES | YES, HANGS ON MAPCHANGE !
   5  |     YES    |   YES    |   YES    | ONLINE  | ONLINE  | NO  | YES, DOES NOT HANG !!!!!!
----------------------------------------------------------------------------------------------
   1  |     YES    |          |          | OFFLINE | OFFLINE |     | NO. Server will not listen.
   2  |     YES    |          |   YES *  | OFFLINE | OFFLINE |     | NO. Server will not listen.
   3  |     YES    |          |   YES    | OFFLINE | OFFLINE |     | NO. Server will not listen.
   4  |     YES    |   YES    |          | OFFLINE | OFFLINE | NO  | Yes. No MOTD !
   5  |     YES    |   YES    |   YES    | OFFLINE | OFFLINE | NO  | Yes. No MOTD, lagspikes 10 seconds, hangs on mapchange
   6  |      NO    |          |          | OFFLINE | OFFLINE |     | NO. Server will not listen. See #3 log
   7  |      NO    |          |   YES *  | OFFLINE | OFFLINE |     | No. Server will not listen. See #3 log
   8  |      NO    |          |   YES    | OFFLINE | OFFLINE |     | No. Server will not listen. See #3 log
   9  |      NO    |   YES    |          | OFFLINE | OFFLINE | NO  | Yes. No MOTD, See #2 log
  10  |      NO    |   YES    |   YES    | OFFLINE | OFFLINE |     | No. See #3 log


COMMANDLIST
--------------------------------------------------------------------------------------------
1 ./srcds_run -game cstrike +map de_dust2 +maxplayers 32 -ip 192.168.250.253 -port 27015 +fps_max 300 -autoupdate
2 ./srcds_run -game cstrike +map de_dust2 +maxplayers 32 -ip 192.168.250.253 -port 27015 +fps_max 300 -autoupdate +sv_lan
3 ./srcds_run -game cstrike +map de_dust2 +maxplayers 32 -ip 192.168.250.253 -port 27015 +fps_max 300 -autoupdate +sv_lan 1
4 ./srcds_run -game cstrike +map de_dust2 +maxplayers 32 -ip 192.168.250.253 -port 27015 +fps_max 300 -autoupdate -nomaster
5 ./srcds_run -game cstrike +map de_dust2 +maxplayers 32 -ip 192.168.250.253 -port 27015 +fps_max 300 -autoupdate +sv_lan 1 -nomaster
6 ./srcds_run -game cstrike +map de_dust2 +maxplayers 32 -ip 192.168.250.253 -port 27015 +fps_max 300
7 ./srcds_run -game cstrike +map de_dust2 +maxplayers 32 -ip 192.168.250.253 -port 27015 +fps_max 300 +sv_lan
8 ./srcds_run -game cstrike +map de_dust2 +maxplayers 32 -ip 192.168.250.253 -port 27015 +fps_max 300 +sv_lan 1
9 ./srcds_run -game cstrike +map de_dust2 +maxplayers 32 -ip 192.168.250.253 -port 27015 +fps_max 300 -nomaster
10 ./srcds_run -game cstrike +map de_dust2 +maxplayers 32 -ip 192.168.250.253 -port 27015 +fps_max 300 +sv_lan 1 -nomaster
Steam username for communication: root_admin (but i'm just a regular user)
Reply
#3
Try to remove your files inside orangebox/bin

do a new update with -verify_all
Reply
#4
Run strace on the process during a mapchange and see what happens on the stack.
http://leaf.dragonflybsd.org/~gary

“The two most common elements in the universe are hydrogen and stupidity.”








Reply
#5
Thanks lhffan. Unfortunately your solution didn't work.
Srcds immediately redownloaded the files, that's all.

Monk, i haven't mastered the strace command yet but at the first glance it doesn't seem to provide me with much info, certainly not on mapchanges.

Depending on the launch options, the server sometimes hangs on this:
Code:
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient.dll. Continuing with current version anyway.

Which is least to say annoying. Why should a GNU/Linux OS need a DLL file?
Steam username for communication: root_admin (but i'm just a regular user)
Reply
#6
how do you change map?
Reply
#7
@lhffan

I issue an rcon command in the client console:
Code:
rcon_password <mypassword>
rcon changelevel de_dust
Steam username for communication: root_admin (but i'm just a regular user)
Reply
#8
Trye this

http://beginlinux.com/blog/2009/09/installing-32-bit-support-into-64-bit-fedora-11/comment-page-1/#comment-1514

But if you read the comment you should change i586 to i686


Hope it helps
Reply
#9
I see where you're going with that but i'm not missing any 32-bit libraries.
The only time i noticed a missing 32-bit library was every time i installed srcds on a x86_64 system.

They're speaking about this:
Quote:did find the ld-linux.so.2 file in /lib folder
which is the file that must be manually downloaded in order to install and run srcds.

Unfortunately this will not fix the problem i'm facing at the moment.
---

(Hello Googlers) For those looking to add 32-bit support by installing those libraries on a 64-bit system, which is what lhffan is referring to:
Fedora 12: yum -y install ld-linux.so.2
Fedora 13: yum localinstall
http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/updates/13/i386/nss-softokn-freebl-3.12.4-19.fc13.i686.rpm

(see https://bugzilla.redhat.com/show_bug.cgi?id=597583)
Steam username for communication: root_admin (but i'm just a regular user)
Reply
#10
I'm seeing a similar issue with a DOD:S server and your hardware/software is similar to mine. On startup, the server appears to be fine. But on a map change. i.e. changelevel dod_flash, the server will hang. I don't know if it will ever change, but it has sat there for at least 5 minutes. I don't know the cause, and I've run through the update several times. On the other hand, TF2 runs very smoothly on same box and since I'm running that ATM, I haven't gone back to the DOD:S.

I do know there was issue with TF2 Bots crashing the Linux server a while back but that was fixed. Give TF2 a go and see if you have problems. Maybe it will help you locate the cause.

Cheers and good luck.
Reply
#11
If it hangs, run gdb into the process and see what it's hanging on. It could be anything, race condition, FD leak, etc.
http://leaf.dragonflybsd.org/~gary

“The two most common elements in the universe are hydrogen and stupidity.”








Reply
#12
happen to me yesterday when valve made update to user and sevrer need to be update... when i tried to update the server, it does nothing just show wait until map restaurt... so 1 hour later still the same.. none one can join my server because when they tried it show like client and server product do not match
Reply
#13
My DOD:S problem is fixed and resolved. I had the sv_lan cvar set to 1 because I was doing some map work awhile back. Changed it to "sv_lan 0" and all is well. Seems to me that would make running a LAN game difficult if you can't change maps.

I hope this helps someone,
Cheers.
Reply
#14
I have the exact same problem. It is rather frustrating! I originally set up a 64 bit Ubuntu Server Edition Server and got this problem. Since running srcds was my primary reason for making the server, I decided to take the time to install the 32 bit version, assuming it was a compatibility issue. This turned out to be a useless effort as I got the exact same error. I'd like to hear how any of you solved it.
Reply
#15
For now i'm running the server without VAC. That solves the long mapchange time and i don't know why.
I hope to see Valve release an update that fixes this problem, i remember the days before the orangebox update when everything was running fine.
Steam username for communication: root_admin (but i'm just a regular user)
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)