-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Ups and Downs - The Server Thread
I'm back, and I've fixed the bug that caused the crashes while I were gone. The reason I'm able to salvage data is because I can run the server in a debugger and (usually) recover a state reasonable for saving manually, which is also the reason why the server cannot (or, at least, should not) be restarted automatically.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Harleyvitality
- Posts: 27
- Joined: Tue Sep 15, 2009 7:32 pm
- Yahoo Messenger: munk1337
- Location: Seattle, WA (USA)
Re: Ups and Downs - The Server Thread
Huzzah! So when is the next Dev session?
"...wha...what did she say about loading a...a..a what?.."
-
Voideka
- Posts: 51
- Joined: Wed Jul 15, 2009 4:04 am
Re: Ups and Downs - The Server Thread
Why do you need to save manually? I'm curious as to how all this works.loftar wrote:I'm back, and I've fixed the bug that caused the crashes while I were gone. The reason I'm able to salvage data is because I can run the server in a debugger and (usually) recover a state reasonable for saving manually, which is also the reason why the server cannot (or, at least, should not) be restarted automatically.
-
Pacho
- Posts: 712
- Joined: Wed Jun 10, 2009 2:21 am
Re: Ups and Downs - The Server Thread
Because if it saves corrupted data automatically and we play with that, we get a whole mess of problems and bigger rollbacks =|
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Ups and Downs - The Server Thread
I donät need to save manually. I'm just talking of the case of an actual crash, when I can usually do some manual work to get the game data saved before I restart the server.Voideka wrote:Why do you need to save manually? I'm curious as to how all this works.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Voideka
- Posts: 51
- Joined: Wed Jul 15, 2009 4:04 am
Re: Ups and Downs - The Server Thread
That's what I was talking about, yes. Is it to try to prevent a big rollback?loftar wrote:I donät need to save manually. I'm just talking of the case of an actual crash, when I can usually do some manual work to get the game data saved before I restart the server.
-
PhaedrothSP
- Posts: 544
- Joined: Sat Aug 01, 2009 6:07 am
Re: Ups and Downs - The Server Thread
Did someone trip on a cable?
-
StoreClerk
- Posts: 18
- Joined: Mon Aug 10, 2009 10:38 pm
Re: Ups and Downs - The Server Thread
What are the specs on the server?
Also, can we get a graph of crashes over a monthly period?
lolololol
Also, can we get a graph of crashes over a monthly period?
lolololol
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Ups and Downs - The Server Thread
No, but as mentioned in the Bugs forum, I'm having some trouble with the new account server that I just put into operation. I'm hoping to have it fixed very soon, but the bug keeps eluding me.PhaedrothSP wrote:Did someone trip on a cable?
The current server is an AthlonXP@1.8GHz with 1 GB of RAM. (But it would need another GB to run Apache properly)StoreClerk wrote:What are the specs on the server?
Given how I wouldn't trouble myself to maintain such a graph, no. :)StoreClerk wrote:Also, can we get a graph of crashes over a monthly period?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
skrylar
- Posts: 33
- Joined: Wed Jul 15, 2009 10:56 am
Re: Ups and Downs - The Server Thread
Edit: Artist's impression of haven server.
1) I still say you should take a look in to tokyo cabinet, it runs on the good server OS' and it has an order of magnitude faster response times than what you previously mentioned using (GDBM) for probably the least amount of effort put in.
2) Suggestion: Set up a separate, obviously smaller database which would server as the party time server which gets activated from a pristine snapshot every time the server crashes. There is no point to this, it would just be a place full of arbitrary things the size of only a few grids and would let people run around trying to capture chickens or newbie swarm dragons. Again, no point at all other than it would be amusing during downtime and possibly being able to capture more error logs if people try to use the time to perfect their server crashing techniques. A test server if you will.
1) I still say you should take a look in to tokyo cabinet, it runs on the good server OS' and it has an order of magnitude faster response times than what you previously mentioned using (GDBM) for probably the least amount of effort put in.
2) Suggestion: Set up a separate, obviously smaller database which would server as the party time server which gets activated from a pristine snapshot every time the server crashes. There is no point to this, it would just be a place full of arbitrary things the size of only a few grids and would let people run around trying to capture chickens or newbie swarm dragons. Again, no point at all other than it would be amusing during downtime and possibly being able to capture more error logs if people try to use the time to perfect their server crashing techniques. A test server if you will.
Last edited by skrylar on Mon Sep 21, 2009 2:58 am, edited 2 times in total.
The most dapper fish you've ever seen.
And so he did say he was riding a dolphin, and that He was splashing water upon thee. --Chapter 1, Verse 2; Codex of Boats
And so he did say he was riding a dolphin, and that He was splashing water upon thee. --Chapter 1, Verse 2; Codex of Boats