SRCDS Steam group


Server shuts down (or crashes) after a while
#1
Hi all, long time lurker, first time poster. I can't track this down Sad

OS: Debian 6, 32-bit
CPU: Xeon E3, 4 cores @ 1.6Ghz
RAM: 2GB

Game: TF2

Start command: su tf2server -l -c "screen -d -m -S SRCDS /home/tf2server/hlds/gameserver/orangebox/srcds_run -game tf -autoupdate -debug -steambin /home/tf2server/hlds/steam -maxplayers 32 +map achievement_idle_slideshow_b15"

No mods, vanilla. I installed it via the tf2 wiki guide, and run it via the srcds-service script (/etc/init.d/srcds start|stop|restart etc).


My problem is that while it starts up and works perfectly, pretty soon it will simply stop. If I connect and stay idle on it, it seems to stay up (EDIT: it still goes down even with me/players online). As you see above I've added -debug, and no dump or crash.log is written. I'm at a loss.

Once it's "down", checking top shows that srcds_run and srcds_linux are still running, srcds_linux still consuming average amounds of RAM as when it's running properly. I can't connect to it (and gametracker reports it's offline) though.

Any ideas? Or suggestions of things to try/test? Sad Thanks in advance Smile
Reply
#2
Any ideas? Still getting this problem Sad
Reply
#3
(12-09-2012, 01:27 PM)Roph Wrote:  Any ideas? Still getting this problem Sad

Did you enable logging? If so, post the log.
Reply
#4
It's just happened now - I can't connect to the server, and gametracker shows it as offline. srcds_run and srcds_linux are still running, still consuming resources as if the server is still operational.

Here's a log:

Code:
L 12/11/2012 - 03:30:51: Log file started (file "logs/L1211000.log") (game "/home/tf2server/hlds/gameserver/orangebox/tf") (version "5140")
L 12/11/2012 - 03:30:51: server_cvar: "sv_cheats" "1"
L 12/11/2012 - 03:30:51: "0TOB<2><BOT><>" connected, address "none"
L 12/11/2012 - 03:30:51: "0TOB<2><BOT><>" entered the game
L 12/11/2012 - 03:30:51: "1TOB<3><BOT><>" connected, address "none"
L 12/11/2012 - 03:30:51: "1TOB<3><BOT><>" entered the game
L 12/11/2012 - 03:30:51: server_cvar: "sv_cheats" "0"
L 12/11/2012 - 03:30:51: server_cvar: "tf_bot_count" "2"
L 12/11/2012 - 03:30:51: server_cvar: "sv_tags" "alltalk,bots,increased_maxplayers,norespawntime"
L 12/11/2012 - 03:30:51: server_cvar: "sv_tags" "alltalk,bots,increased_maxplayers,norespawntime"
L 12/11/2012 - 03:30:51: Sending CMsgGameServerMatchmakingStatus (state=ServerMatchmakingState_NOT_PARTICIPATING)
L 12/11/2012 - 03:30:51: "0TOB<2><BOT><Unassigned>" joined team "Red"
L 12/11/2012 - 03:30:51: "1TOB<3><BOT><Unassigned>" joined team "Blue"
L 12/11/2012 - 03:30:51: "0TOB<2><BOT><Red>" changed role to "medic"
L 12/11/2012 - 03:30:51: "1TOB<3><BOT><Blue>" changed role to "sniper"
L 12/11/2012 - 03:30:52: Connection to Steam servers successful.
L 12/11/2012 - 03:30:52:    Public IP is 75.127.3.198.
L 12/11/2012 - 03:30:52: Assigned anonymous gameserver Steam ID [A-1:3916422146(3189)].
L 12/11/2012 - 03:30:53: VAC secure mode is activated.
L 12/11/2012 - 03:30:53: tf_server_identity_account_id not set; not logging into registered account
L 12/11/2012 - 03:31:40: "1TOB<3><BOT><Blue>" committed suicide with "world" (attacker_position "1639 920 736")
L 12/11/2012 - 03:32:19: "0TOB<0><BOT><Red>" triggered "medic_death" against "0TOB<2><BOT><Red>" (healing "0") (ubercharge "0")
L 12/11/2012 - 03:32:19: "0TOB<2><BOT><Red>" committed suicide with "world" (attacker_position "1624 1708 615")
L 12/11/2012 - 03:32:31: "1TOB<3><BOT><Blue>" committed suicide with "world" (attacker_position "1639 917 736")
L 12/11/2012 - 03:33:13: "Roph<4><STEAM_0:1:32377429><>" connected, address "xxx.xxx.xxx.xxx:27005"
L 12/11/2012 - 03:33:13: "Roph<4><STEAM_0:1:32377429><>" STEAM USERID validated
L 12/11/2012 - 03:33:20: "Roph<4><STEAM_0:1:32377429><>" entered the game
L 12/11/2012 - 03:33:23: "Roph<4><STEAM_0:1:32377429><Unassigned>" joined team "Red"
L 12/11/2012 - 03:33:24: "1TOB<3><BOT><Blue>" committed suicide with "world" (attacker_position "1639 866 736")
L 12/11/2012 - 03:33:25: "Roph<4><STEAM_0:1:32377429><Red>" changed role to "soldier"
L 12/11/2012 - 03:33:48: "0TOB<0><BOT><Red>" triggered "medic_death" against "0TOB<2><BOT><Red>" (healing "0") (ubercharge "0")
L 12/11/2012 - 03:33:48: "0TOB<2><BOT><Red>" committed suicide with "world" (attacker_position "1624 1708 615")
L 12/11/2012 - 03:34:21: "1TOB<3><BOT><Blue>" committed suicide with "world" (attacker_position "1639 903 736")
L 12/11/2012 - 03:35:12: "1TOB<3><BOT><Blue>" committed suicide with "world" (attacker_position "1639 911 736")
L 12/11/2012 - 03:35:21: "0TOB<0><BOT><Red>" triggered "medic_death" against "0TOB<2><BOT><Red>" (healing "0") (ubercharge "0")
L 12/11/2012 - 03:35:21: "0TOB<2><BOT><Red>" committed suicide with "world" (attacker_position "1624 1708 615")
L 12/11/2012 - 03:35:57: "1TOB<3><BOT><Blue>" committed suicide with "world" (attacker_position "1639 965 736")
L 12/11/2012 - 03:36:44: "1TOB<3><BOT><Blue>" committed suicide with "world" (attacker_position "1639 898 736")
L 12/11/2012 - 03:36:49: "0TOB<0><BOT><Red>" triggered "medic_death" against "0TOB<2><BOT><Red>" (healing "0") (ubercharge "0")
L 12/11/2012 - 03:36:49: "0TOB<2><BOT><Red>" committed suicide with "world" (attacker_position "1624 1708 615")
L 12/11/2012 - 03:37:34: "1TOB<3><BOT><Blue>" committed suicide with "world" (attacker_position "1639 935 736")
L 12/11/2012 - 03:38:14: "0TOB<0><BOT><Red>" triggered "medic_death" against "0TOB<2><BOT><Red>" (healing "0") (ubercharge "0")
L 12/11/2012 - 03:38:14: "0TOB<2><BOT><Red>" committed suicide with "world" (attacker_position "1624 1708 615")
L 12/11/2012 - 03:38:17: "1TOB<3><BOT><Blue>" committed suicide

That's it. No shutdown message or anything. As far as logs (and resource usage) show, the server's still running. But you try connecting to it (75.127.3.198). I'm running with -debug, no crash logs or dumps are created.

The only way I can get the server working again is to restart it.

Note that the log just ends mid-entry. It should say more after the final "suicide", with the reason, position etc. Any ideas? Sad
Reply
#5
Guessing I stumped you guys? Sad
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)