15.08.2009 - 23.06.2013
"Wasteland is harsh"
December 24, 2024, 05:26:03 pm
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
fodev.net
|
Other
|
Archives
|
FOnline:2238 Forum
|
General Game Discussion
|
The problem with daily crash
Pages: [
1
]
Author
Topic: The problem with daily crash (Read 1193 times)
Pandemon
The GM-eater
The problem with daily crash
«
on:
May 01, 2010, 10:11:43 am »
I've noticed that the server crashes in the morning (or even earlier) when "everybody are sleeping" and is off until any Dev will come. When he come, he just turn it on in 2 minutes.
So I suppose there is no problem to start the server whenever it gets crashed but there isn't noone to turn it on.
My idea is to make another application which will watch work of FOnline (watch the process) and when it crash new application will immidiately turn server on.
And I know that write this kind of application is very simple, f.e. in C# because I've done something like that before.
That's just suggest to keep the server still on.
Logged
There is
nothing
as demotivating as the Game Masters
Endless
Re: The problem with daily crash
«
Reply #1 on:
May 01, 2010, 10:17:55 am »
This is too risky. Because should the server crash because of something serious, integrity needs to be checked before it's rebooted. Or bad bad things can happen to players/inventories/ etc. This is the safe way
Logged
Pandemon
The GM-eater
Re: The problem with daily crash
«
Reply #2 on:
May 01, 2010, 10:20:13 am »
Who said that this application wouldn't catch exceptions caused by crash of FOnline?
The server crash, say the exception, application save exception message, turn server on and when Dev will come he will read what exception was catched.
Also that would solve the problem of server online time which is already probably about 12/24 daily.
«
Last Edit: May 01, 2010, 10:22:19 am by Pandemon
»
Logged
There is
nothing
as demotivating as the Game Masters
blahblah
Re: The problem with daily crash
«
Reply #3 on:
May 01, 2010, 04:37:35 pm »
There already was an watchdog setup to see when the application crashes and rebooted it. Then players started losing characters because the files were corrupt.
Logged
<Izual> Let's crash server
Pandemon
The GM-eater
Re: The problem with daily crash
«
Reply #4 on:
May 02, 2010, 08:13:59 pm »
So, there are only two explanations:
1) FOnline server files were (are?) written not-properly
2) "watch-dog" was written not-properly
If this second, I don't see a problem to fix it, if that first... well I dunno how looks server engine so I can't say anything in this topic.
Anyway, I'd like to hear an opinion of Dev.
Logged
There is
nothing
as demotivating as the Game Masters
Pages: [
1
]
fodev.net
|
Other
|
Archives
|
FOnline:2238 Forum
|
General Game Discussion
|
The problem with daily crash