[bf1942] Annd crash again :)
Per Kristiansen
per at gathering.org
Mon Jan 13 12:00:41 EST 2003
hmmm....
I set the level time down to 1 minute/3 rounds pr level.
it crashed the same way.
after 110minutes and 23 level changes...
now I went back to my logs (screen is my friend)
and did some line counting...sure enough
all but one crash happened after 23 map changes.
As far as I can see..on the 23'rd map change it crashes..
it's allways with to "cannot open shared object file: Too many open files" error message
and the "STREAM_LOG: StartHost:¤áÿ¿´òÿ¿áÿ¿[ÒLk+" hostname garbling.
Running Redhat 7.3 AMD 1Ghz CPU 768 MB RAM
I've ditched all other game servers on the box..only apache/mail and the bf1942 server.
Oh and here's how I got the level changes:
I use screen and I've enabled logging on the screen that runs bf1942 (do a man 'screen' to find out how, it's simple:)
then I did a grep on the log file: 'grep startHostGame screenlog.3'
This gives me an output like this:
STREAM_DEBUG: startHostGame: ¤áÿ¿´òÿ¿áÿ¿[ÒLk+ maxplayers: 32 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: ¤áÿ¿´òÿ¿áÿ¿[ÒLk+ maxplayers: 32 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: [Per's]BF1942 Public-=Linux Bet maxplayers: 8 scoreLimit: 0
STREAM_DEBUG: startHostGame: ¤áÿ¿´òÿ¿áÿ¿[ÒLk+ maxplayers: 32 scoreLimit: 0
Whenever I see the startHostGame: ¤áÿ¿´òÿ¿áÿ¿[ÒLk+ line I know there was a crash..
oh well...
keep up the good work ryan!
oh and you're of course invited to attend our party this easter..
http://www.gathering.org
On Mon, Jan 13, 2003 at 02:56:30PM +0100, Per Kristiansen wrote:
> STREAM_DEBUG: Adding backend service: /usr/games/bf1942-lnxded-1.2beta1/MultiplayerServers/GameSpyHost_Debug.so
> STREAM_WARNING: dlopen("/usr/games/bf1942-lnxded-1.2beta1/MultiplayerServers/GameSpyHost_Debug.so") failed!
> STREAM_WARNING: ... dlerror() says: "/usr/games/bf1942-lnxded-1.2beta1/MultiplayerServers/GameSpyHost_Debug.so: cannot open shared object file: Too many open files".
> FORMAT_ERROR: 1Failed to load /usr/games/bf1942-lnxded-1.2beta1/MultiplayerServers/GameSpyHost_Debug.so
> STREAM_DEBUG: Adding backend service: /usr/games/bf1942-lnxded-1.2beta1/MultiplayerServers/GameSpyHost_Debug.so
> STREAM_WARNING: dlopen("/usr/games/bf1942-lnxded-1.2beta1/MultiplayerServers/GameSpyHost_Debug.so") failed!
> STREAM_WARNING: ... dlerror() says: "/usr/games/bf1942-lnxded-1.2beta1/MultiplayerServers/GameSpyHost_Debug.so: cannot open shared object file: Too many open files".
> FORMAT_ERROR: 1Failed to load /usr/games/bf1942-lnxded-1.2beta1/MultiplayerServers/GameSpyHost_Debug.so
> STREAM_DEBUG: Adding backend service:
> FORMAT_ERROR: 1Failed to load
> STREAM_DEBUG: Starting gamespy dll
> STREAM_DEBUG: setup.getMaxAllowedCT CTLanT1
> STREAM_WARNING: cdKeyAuthcallback for product 541
> STREAM_WARNING: CD-Key authcallback successful for SERVER
> STREAM_WARNING: CD-Key auth reason: Dedicated Server Authentication
> STREAM_LOG:
> GameStart:
> STREAM_LOG: -----------
>
> STREAM_LOG: StartHost:¤áÿ¿´òÿ¿áÿ¿[ÒLk+
> STREAM_LOG: Level:bf1942/levels/guadalCanal/ctf.con
> STREAM_WARNING: Couldn't open console script "mods/BF1942/Settings/banlist.con"
> STREAM_DEBUG: deleteAllRegisteredObjects start
> STREAM_DEBUG: deleteAllRegisteredObjects end
> STREAM_DEBUG: StopHost - GameSpy
> STREAM_DEBUG: Setup::saveAdminSettings
> STREAM_WARNING: geom::geometryTemplateManager->deleteAll() temporarly removed, must be put back in order to restart levels
>
> real 1784m30.129s
> user 286m51.210s
> sys 7m9.700s
>
> Okay..
>
> The times are pretty consistent...
>
> after about 1700 minutes (30 minutes play time on each level) I get this crash
> (no core file)..
>
> I'm gonna put up a server with 1 minute round times.
>
> As it is now it takes around 60 level changes before it crashes.
>
> I'll get back with more info when it crashes again :)
>
>
> --
> Per Kristiansen
> per at gathering.org
>
--
Per Kristiansen
per at gathering.org
More information about the Bf1942
mailing list