Hello,

So lately I've noticed that srcds_run sometimes hangs for a good while during 
startup. Surely others have had this problem, but I've been unable to find 
anything that really helps. Since I say "noticed lately" it really means I 
don't actually know how long it has been like this.

I'm getting to the point where, just before

"Connection to Steam servers successful.
   VAC secure mode disabled."

and right after it executes server.cfg or whatever, it just freezes for 
anywhere from 1 to 15 minutes (perhaps more even, not sure). I am unable to 
input anything and the only thing I can do is either wait or terminate the 
process. I am not sure, but I would say this happens anywhere between 10-30% of 
the times I am starting the game. I've tried this on 3 boxes, same thing 
happens, 1 of them running Debian Sarge, the other 2 running Debian Etch. Tried 
with kernels from 2.6.1 to 2.6.22. Some stock-debian, some custom. But I guess 
this doesn't matter since it appears to be a game/steam issue.

I've tried a bunch of arguments, -nomaster, -insecure, no tickrate argument.. 
They are up-to-date ofcourse, and I've rune verify_all as well. -debug doesn't 
generate anything either, as it never really crashes, it just hangs. Looking at 
the processinformation, it doesn't appear use much cpu-cycles either during 
this - 0-1% - probably because it is just trying to authenticate with the 
servers.

A typical startupline might look like this:

./srcds_run -ip XXX -port 27090 +maxplayers 12 +map de_dust2 -tickrate 100 
+sv_consistency 0 +mp_dynamicpricing 0 -game cstrike

This is what it looks like when it doesn't work:
-----------------------------------------------------------------------
Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.

Console initialized.
Game.dll loaded for "Counter-Strike: Source"
maxplayers set to 32
maxplayers set to 12
Network: IP XXX, mode MP, dedicated Yes, ports 27090 SV / 27005 CL
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)
net.cpp (960) : Assertion Failed: 0 == iRet && iValLen == sizeof( iVal ) && 
cSendBufSize <= iVal
net.cpp (968) : Assertion Failed: 0 == iRet && iValLen == sizeof( iVal ) && 
cRecvBufSize <= iVal
couldn't exec server.cfg

(This is where it hangs for several minutes).

Adding master server 68.142.72.250:27011
Adding master server 72.165.61.189:27011
L 04/09/2008 - 15:27:52: World triggered "Round_Start"
Connection to Steam servers successful.
   VAC secure mode is activated.
A2C_PRINT from 68.142.72.250:27011 :
No challenge for your address.
A2C_PRINT from 72.165.61.189:27011 :
No challenge for your address.
-----------------------------------------------------------------------

I've tried searching around for "A2C_PRINT from" but not much comes up.


And when it works:
-----------------------------------------------------------------------
Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.

Console initialized.
Game.dll loaded for "Counter-Strike: Source"
maxplayers set to 32
maxplayers set to 12
Network: IP XXX, mode MP, dedicated Yes, ports 27090 SV / 27005 CL
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)
net.cpp (960) : Assertion Failed: 0 == iRet && iValLen == sizeof( iVal ) && 
cSendBufSize <= iVal
net.cpp (968) : Assertion Failed: 0 == iRet && iValLen == sizeof( iVal ) && 
cRecvBufSize <= iVal
couldn't exec server.cfg
Adding master server 72.165.61.189:27011
Adding master server 68.142.72.250:27011
Connection to Steam servers successful.
   VAC secure mode is activated.
-----------------------------------------------------------------------

Note that -nomaster doesn't make any difference..

Anyone know if there is a way to make this behave a bit better?

-- 
Thomas Bergheim - GPG ID: 0x8BA9AAC5

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to