It sounds like you might already have servers that are trampling all
over each other and you are just realizing it for the first time. Same
thing happened to me and I was horrified. I would recommend you audit
all of your servers and make sure they are actually using the resources
you think they should be.
Use -strictportbind on all of your servers.
Please see a relatively recent message from me on this list on my
recommendations for running multiple servers on a single IP;
Date: Mon, 11 Feb 2013 15:22:43 -0700
From: Jesse Molina <[email protected]>
Subject: Re: [hlds_linux] Overlapping port usage when running multiple
Collect some info on your currently running servers and make sure they
are all on the resources you expect;
sudo lsof -i 4 -n -a -p $GAMESERVPID
If you want to see what is currently taking up a given port do something
like;
sudo netstat -anp | egrep $PORTNUM
Weasel wrote:
I've seen this twice now.
The TF2 server crashes.
It auto-restarts.
When it comes back-up again, it doesn't use the port number that has been
specified (and before the crash it had been using).
My guess, is that when the binary crashes, the old port/socket doesn't get
released immediately.
So, when the binary get's started back up, it's not immediately available - so
it picks another port.
Needless to say, this is a big deal for servers where many players use their
"favorites" list to find.
This didn't start with the latest round of TF2 updates.
The first time I saw it was back on January 25t - never before.
Since then, It's only happened maybe twice - including just now.
Platform: Linux
Operating System: CentOS 5.9
Architecture: 32-bit (x86).
Recent debug.log file (cleared after last TF2 update):
----------------------------------------------
CRASH: Sat Feb 16 01:05:06 PST 2013
Start Line: ./srcds_linux -secure -game tf +port 29016 -steamport 29116 -debug
End of Source crash report
----------------------------------------------
----------------------------------------------
CRASH: Sat Feb 16 10:15:59 PST 2013
Start Line: ./srcds_linux -secure -game tf +port 29016 -steamport 29116 -debug
End of Source crash report
----------------------------------------------
----------------------------------------------
CRASH: Sat Feb 16 13:10:10 PST 2013
Start Line: ./srcds_linux -secure -game tf +port 29016 -steamport 29116 -debug
End of Source crash report
----------------------------------------------
----------------------------------------------
CRASH: Sat Feb 16 23:00:52 PST 2013
Start Line: ./srcds_linux -secure -game tf +port 29016 -steamport 29116 -debug
End of Source crash report
----------------------------------------------
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
--
# Jesse Molina
# Mail = [email protected]
# Cell = 1-602-323-7608
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux