[bf1942] restart script

David Harrison trogspam at games.telstra.com
Fri Jul 8 04:06:48 EDT 2005

There's a Linux binary included (compiled on latest Ubuntu, dynamically 
linked) as well as source code + makefile :)

Sorry, should have mentioned that. Haven't tested it on any BSD OSes but 
would be interested to hear if anyone has any success/failures.

-- david

---- Original Message ----
From: "James Gurney" <james at globalmegacorp.org>
To: <bf1942 at icculus.org>
Sent: Friday, July 08, 2005 5:37 PM
Subject: Re: [bf1942] restart script

> On 7/7/2005 10:15 PM, David Harrison wrote:
>> We've just released a piece of software we used to use to manage our
>> game servers - GameMon will let you monitor servers via QStat and
>> restart them if they fail a number of queries (or if the process
>> dies). gamemon.exe -c "c:\games\bf2unranked\bf2_w32ded.exe" -d
>> "c:\games\bf2unranked" -g gs3 -i -p 29900
> I'm guessing this isn't aimed at Linux users then.. although you could
> do something similar in Linux easily enough with a shell script. I'm
> planning on writing one tomorrow to check how many players are on the
> server. If it goes an hour without any, restart the server. This
> should prevent the memory usage getting out of control (we made it up
> to almost 2GB of memory used by the BF2 server earlier today)
> James 

More information about the Bf1942 mailing list