View previous topic :: View next topic |
Author |
Message |
Zed UT Noobie
Joined: 14 Apr 2002 Posts: 2099 Game Trophies: 2
Location: Berkeley, CA
|
Posted: Sun Apr 14, 2002 10:16 pm Post subject: crash checker |
|
|
OK I've now implemented a crash checker that checks if unreal seems to be running properly. It uses the log file to see if it is, so -theoretically- its possible that if noone does anything at all for 3 minutes (the check interval), not talk not get relics, not shoot eachother, the server will reset.
Please tell me if reboots-out-of-the-blue happen and when.
~puntloos
|
|
Back to top |
|
|
puntloos {OCA} Member
Joined: 14 Apr 2002 Posts: 1065
Location: Netherlands
|
Posted: Mon Apr 15, 2002 1:46 pm Post subject: Burn !@# |
|
|
Ok well -obviously- it worked at first sight but it went haywire Weird too, it would work fine for 20 minutes and then bang everybody gone.
The bugger of it is that if I try it on the CTF it will most likely work predictably and if I try it on the sniper arena it will annoy players if it fails. I'll try to work something out.
For now it's disabled.
_________________ Give a man a fire and he'll be warm for a day.
Set a man on fire and he'll be warm for the rest of his life! |
|
Back to top |
|
|
puntloos {OCA} Member
Joined: 14 Apr 2002 Posts: 1065
Location: Netherlands
|
Posted: Sun Apr 21, 2002 12:06 am Post subject: |
|
|
So how's the crashing? Did everybody get kicked after I said I probably fixed it ZED?
_________________ Give a man a fire and he'll be warm for a day.
Set a man on fire and he'll be warm for the rest of his life! |
|
Back to top |
|
|
roba Angelina's Man
Joined: 14 Apr 2002 Posts: 3240 Game Trophies: 2
Location: Prague, Czech Republic
|
Posted: Mon Apr 22, 2002 9:42 am Post subject: ? |
|
|
Hi Punt,
tonight we tried to play woof's games on DM server (so Zed had to change it to sniper), but always after few mins server reseted back to regular deatmatch.... but I am not sure if this was crash-checker problem...
|
|
Back to top |
|
|
puntloos {OCA} Member
Joined: 14 Apr 2002 Posts: 1065
Location: Netherlands
|
Posted: Mon Apr 22, 2002 9:22 pm Post subject: |
|
|
Well, that depends. I dont really think so, plus restarts like this are 'ok' - that is the thing that really sucks is if the server is down and noone can play on it. Resets suck too of course but are less urgent.
actually I think it might've been my neet-o-deluxe crash detect script that ain't finished yet
If that script detects 'something's wrong' it resets the server.. maybe that happened.
I might have some time to check into it. The new mapvote thing seems to have at least made the # of fatal crashes lower hasn't it?
_________________ Give a man a fire and he'll be warm for a day.
Set a man on fire and he'll be warm for the rest of his life! |
|
Back to top |
|
|
Zed UT Noobie
Joined: 14 Apr 2002 Posts: 2099 Game Trophies: 2
Location: Berkeley, CA
|
Posted: Tue Apr 23, 2002 1:29 am Post subject: |
|
|
actually punt I think the crash checker is working but just a little buggy. It did seem to do its job when resetting though. Seems that their is a default config and level that it goes back to. And no real crashes, it would just reset itself, so that is just a kink, no big deal.
Yeah there hasnt been a fatal crash in a while so that is a very good thing.
_________________
New {OCA} Servers
CTF - 213.202.218.5:7877/
BT -213.202.218.5:7977/ |
|
Back to top |
|
|
puntloos {OCA} Member
Joined: 14 Apr 2002 Posts: 1065
Location: Netherlands
|
Posted: Tue Apr 23, 2002 2:07 pm Post subject: |
|
|
Yeah I know the part of the checker actually resetting the stuff works fine. The big problem is that unreal is a naughty program and doesn't write logs properly. Sometimes logs don't get written for 3+ minutes, and if that's the case my checker assumes it's dead. (logs contain everything that's going on so unless everybody stands still and noone shoots even a bot the log should grow)
_________________ Give a man a fire and he'll be warm for a day.
Set a man on fire and he'll be warm for the rest of his life! |
|
Back to top |
|
|
|