Hi everyone. Unfortunately, as many of you noticed we had 2 moderate (more than 15 minutes) periods of downtime today, one this morning and one this evening. I wanted to let you guys know what happened, and what needs to happen as a result. :)
This morning, our database server locked up (which happens to us occasionally, you could call it "growing pains.") This morning's lockup was particularly bad as all 3 web servers became overloaded with people trying to load the site, and so slow that it took forever for me to log into any of them (for example, to take the site down and stop people from hammering the web servers xD)
To further complicate matters, the database became corrupted as a result of the lockup, and refused to start. At that point we switched to our backup database, which is synchronized with the main one, and brought the site back up.
The downtime this evening was the result of db2 locking up, which was corrected with a restart of the database.
This left our primary database server offline though, so Subeta will be taken down over Monday/Tuesday (Tuesday morning) at 3 am in order to synchronize the two and return to operating on db1.
In case you're curious why the database locks up like this: Subeta uses caching to save the answers to frequently asked questions that would otherwise be asked of the database (for example: "give me a random avatar to show on the homepage?"). The cache expires after a certain time, however, and if there's lots of users on the site, hundreds of users suddenly ask the database the same question. You'd think this wouldn't cause a problem, but the database really doesn't know that lots of people are asking the same thing, so it dutifully tries and answer the same question hundreds of times. Meanwhile, all the normal Subeta queries get backed up while 200 database threads compete over access to the same information, and eventually it gets so bogged down that it only answers 100 or so questions/second, as opposed to the 5,000 we normally run.
There are ways around this, of course, and we've been implementing them whenever we come across this problem. For the moment, though, whenever we fix one of these problems (like the random HA on the home page), another one steps up to take its place. Rest assured that each time this happens, progress is being made!
Anyway, in summary, site will be down Tuesday at 3am - 4:30am to resync the database servers.
-Alex
This morning, our database server locked up (which happens to us occasionally, you could call it "growing pains.") This morning's lockup was particularly bad as all 3 web servers became overloaded with people trying to load the site, and so slow that it took forever for me to log into any of them (for example, to take the site down and stop people from hammering the web servers xD)
To further complicate matters, the database became corrupted as a result of the lockup, and refused to start. At that point we switched to our backup database, which is synchronized with the main one, and brought the site back up.
The downtime this evening was the result of db2 locking up, which was corrected with a restart of the database.
This left our primary database server offline though, so Subeta will be taken down over Monday/Tuesday (Tuesday morning) at 3 am in order to synchronize the two and return to operating on db1.
In case you're curious why the database locks up like this: Subeta uses caching to save the answers to frequently asked questions that would otherwise be asked of the database (for example: "give me a random avatar to show on the homepage?"). The cache expires after a certain time, however, and if there's lots of users on the site, hundreds of users suddenly ask the database the same question. You'd think this wouldn't cause a problem, but the database really doesn't know that lots of people are asking the same thing, so it dutifully tries and answer the same question hundreds of times. Meanwhile, all the normal Subeta queries get backed up while 200 database threads compete over access to the same information, and eventually it gets so bogged down that it only answers 100 or so questions/second, as opposed to the 5,000 we normally run.
There are ways around this, of course, and we've been implementing them whenever we come across this problem. For the moment, though, whenever we fix one of these problems (like the random HA on the home page), another one steps up to take its place. Rest assured that each time this happens, progress is being made!
Anyway, in summary, site will be down Tuesday at 3am - 4:30am to resync the database servers.
-Alex
Posted by alx
Monbohn
Thank you for taking the time to let us know what's going on and for always explaining things in term I can understand.
User not found:
Ok. Good. ^-^ thanks.

Thanks, Alex! <img src="http://images.subeta.net/smilies/6398_emoticon_heart.gif" border="0" />
User not found:
gee...thanks for telling us. i thought one of thosepeople that can hack our computers got to subeta
Thanks for keeping us updated! <img src="http://images.subeta.net/smilies/6398_emoticon_happy.gif" border="0" />
Thank you for letting everyone know what's going on! I was getting a little worried myself. :3 You guys are doing great!
Wow, you guys are amazing! Thanks for doing such a great job! <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />

Thank you for keepin' us in the loop... <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />

Thanks for the update on these downtimes Alex<img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" /> as I was kinda wondering why Subeta was going down and was hoping it wasn't due to the Christmas month.

God. I LOVE being a part of a site that actually tells users what's going on! <img src="http://images.subeta.net/smilies/6398_emoticon_heart.gif" border="0" />

Thanks for the heads up AND the details. i didn't understand all of it, but it makes me feel smart when i read it XD but really, it's cool to know a bit of the behind the scenes workings of my favorite pet site!

Thanks for the update <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" /> Its always nice to know whats going on, even if we dont understand it all <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" /> Keep up the good work <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />

These updates and information posts are awesome. Thanks for taking the time to let us know. ^^
Thanks for not only an answer and a heads up as to what we should expect and when we should expect this, but thanks as well for details. Just one more reason why I basically live here hahaha!

Thank you, Alex. As always you helpful updates are appreciated. I've never actually been on a site where regular users were involved like this. I think that most of us are extremely loyal to Subeta. We love this game and we love the community here and we are happy to wait out any technical issues that happen. Thank you everyone for all your hard work you do for us regular folks. <img src="http://images.subeta.net/smilies/6398_emoticon_grin.gif" border="0" />
Good luck! If anyone can fix it, the Subeta team can! <img src="http://images.subeta.net/smilies/6398_emoticon_happy.gif" border="0" />
Carol
STAFF
Thank you as always, my dear. <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />
Thanks, Alex! <img src="http://images.subeta.net/smilies/6398_emoticon_heart.gif" border="0" />
c:
c:
Thanks so much for keeping us updated, Alex. <img src="http://images.subeta.net/smilies/6398_emoticon_grin.gif" border="0" />
