SRCDS Steam group


TF2 server hangs on FreeBSD
#1
I've recently upgraded my servers and in the progress I changed from Windows to FreeBSD 8.1 as host OS. The problem is that the server hangs several times a day. It doesn't really crash, so the script doesn't restart it, but you can't connect to it and everyone that was online looses their connection.

This is written in the console when the server crashes.
Code:
singleprocesspipe_posix.cpp (167) : Assertion Failed: CSingleProcessPipe::BWrite wrote too few bytes (8187/9278) errno=38
/home/VALVE/rackadmin/buildslave/steam_rel_client_linux/build/src/clientdll/../common/singleprocesspipe_posix.cpp 167 Assertion Failed: CSingleProcessPipe::BWrite wrote too few bytes (8187/9278) errno=38

Startup line:
Code:
./srcds_run -autoupdate -console -ip 10.0.2.101 -port 27035 -game tf +exec config_arena.cfg +map arena_nucleus

config_arena.cfg
Code:
maxplayers 30
hostname "Haxalot.com TF2 #3 Arena"
mapcyclefile "arena_mapcycle.txt"

server.cfg
Code:
sm_reserved_slots 10
sm_reserve_type 0
sm_hide_slots 1

sv_tags ""
sv_tags "haxalot.com,vanilla,HLstatsX:CE,alltalk"


fps_max 0

rcon_password "getthefuckoutofhere"

sv_allow_wait_command 1
sv_alltalk 1

sv_pure 1

mp_maxrounds 15

log on
logaddress_delall
logaddress_add 10.0.2.101:27500
sv_logecho 0

caxmpp_host "10.0.2.102"
caxmpp_port 1337
caxmpp_url "nope.avi"
caxmpp_seckey "nope.avi"
caxmpp_call_delay 180
caxmpp_announce_delay 300.0

maprate_autorate_time 240

sv_maxupdaterate 66
sv_minupdaterate 33

sv_mincmdrate 33
sv_maxcmdrate 66

sv_maxrate 30000
sv_minrate 20000

sv_downloadurl "http://fastdl.haxalot.com/tf2"

tf_birthday 0

This also happens without Sourcemod disabled.
Reply
#2
Memory leak it may seem.

Try to disable all addons your server may be running with.
Reply
#3
We've been on Linux and FreeBSD for years, and as of a few TF2 updates ago that started happening on our FreeBSD server. It runs for awhile, then crashes with that error. I can tell you it even happens on a fresh install of steam and TF2 without any addons. So my best guess at this point is its something about the linux emulation stuff.
If you figure it out, share it here, and I'll do the same.
Or if TF2 matters to you, just run actual Linux, there's no problems running it native.
Reply
#4
(01-30-2011, 09:13 AM)kilorat Wrote:  We've been on Linux and FreeBSD for years, and as of a few TF2 updates ago that started happening on our FreeBSD server. It runs for awhile, then crashes with that error. I can tell you it even happens on a fresh install of steam and TF2 without any addons. So my best guess at this point is its something about the linux emulation stuff.
If you figure it out, share it here, and I'll do the same.
Or if TF2 matters to you, just run actual Linux, there's no problems running it native.

VALVe probably screwed something up :/
Reply
#5
So, I'll try to find a solution to this, but if I'm unable to find it, what Linux dist do you recommend for srcds?
Reply
#6
Try using a different linux backend, something newer. (gentoo).
http://leaf.dragonflybsd.org/~gary

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








Reply
#7
I've noticed exactly same behavior under FreeBSD 8.2 amd64/i386 and f10 linux backend. Somewhy server crashes when user with specific steam account logs in. We've tested 3 accounts. When 1st account logs into server it always crashes with output similar to one in 1st post, tried on 2 different PCs with pure and fresh installed TF2 clients. The other 2 accounts doesn't crash server. (Well, server isn't crashes at all, it just hangs)
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)