Forum Header
Register   Login ..:: Community » Forums ::.. Friday, May 18, 2012
 Jericho Forums Minimize

Please Note: The Google Chrome browser does not currently allow posting on this forum. We will try to fix this ASAP.
Subject: Site Status Aug 2009
Prev Next
You are not authorized to post a reply.

Author Messages
sgMarshallUser is Offline

Forum Admin
JK Website Admin

Posts:446


08/12/2009 4:24 AM  

Site Status.

UPDATE: We've not seen this problem in about a week now, so it may be we've mangaged to track down the bugs that were causing it and get rid of them. At this time, the site seems very stable. We're shifting over to working on the database and after that we'll start working on a new (from the ground up chatroom).
 
The site is still having an issue with the number of pools being exceeded.
 
I’m going to try and explain the problem and the steps we’re looking at.
 
www.jericho-kansas.com is a website which stores most content in a database. When you request a page on the website (usually by following a link, menu item, etc.) the software checks your privileges (are you logged in, registered, a moderator, etcetera and then decides what parts of the website you are allowed to see. This isn’t very unusual. The JKI website takes this a bit further in that every element (we can call these modules) on a page can be viewed or hidden depending on a person’s site privileges.
 
Most any element is going to be a module (you can think of a module as a container for holding a picture, a movie, some text, etc.). If you look at the front page there is a module (container) for each of the two movies. A module holds the Jericho quote of the day. A module holds “The latest news” etc.
 
When a page loads, the following happens, a call is made to the database to return all the modules (their types and placements, etc.). Then each module will call the database to ask what it should show.
 
So here’s the problem: The database can only accept so many calls before it cannot handle anymore (think of overloading the phone lines). Once all the lines are tied up there’s just no way to get a call in and then the website hangs.
 
When the system is working properly it is like making a quick call, then hanging up to freeing up the phone line. When it isn’t working correctly it is like everyone calling and no one hanging up to free up a line for the next call.
 
What is happening is simply this: one of the modules we use somewhere has a bug where it makes a call to the database and then for some reason never closes the connection. More and more of these connections build up until the database has no free connections and then the website times out for a couple of minutes while the server figures it needs to reset the server and free up the connections.
 
So while we’ve worked out many of the issues the server was having and we’re seeing a lot of stability and speed gains from that work, we still need to track down and kill some bugs in the modules used in the website before we see the ‘pool’ errors go away.
 
In the mean time should the site go down, it should only take a couple of minutes for the site to come back up. On the plus side, once we can nail down this issue we can reable some of the other features of the site.
 
Thank you for your patience.
 
P.S. never feel too shy to post about any issues you have or problems you see with the site, this will only help us know where we need to be focusing our efforts.
 
P.S. We’re using a different temporary chat room module. This one should be a bit more compatible with a wider variety of browsers. If it should act up you might try leaving that page (going to another page) then returning and seeing if the problem clears up. We’re working on a more stable version of the chatroom software.
AngelarK1User is Offline

Posts:300

08/14/2009 5:18 PM  
Posted By admin account on 08/12/2009 4:24 AM
Site Status.
 
The site is still having an issue with the number of pools being exceeded.
 
I’m going to try and explain the problem and the steps we’re looking at.
 
www.jericho-kansas.com is a website which stores most content in a database. When you request a page on the website (usually by following a link, menu item, etc.) the software checks your privileges (are you logged in, registered, a moderator, etcetera and then decides what parts of the website you are allowed to see. This isn’t very unusual. The JKI website takes this a bit further in that every element (we can call these modules) on a page can be viewed or hidden depending on a person’s site privileges.
 
Most any element is going to be a module (you can think of a module as a container for holding a picture, a movie, some text, etc.). If you look at the front page there is a module (container) for each of the two movies. A module holds the Jericho quote of the day. A module holds “The latest news” etc.
 
When a page loads, the following happens, a call is made to the database to return all the modules (their types and placements, etc.). Then each module will call the database to ask what it should show.
 
So here’s the problem: The database can only accept so many calls before it cannot handle anymore (think of overloading the phone lines). Once all the lines are tied up there’s just no way to get a call in and then the website hangs.
 
When the system is working properly it is like making a quick call, then hanging up to freeing up the phone line. When it isn’t working correctly it is like everyone calling and no one hanging up to free up a line for the next call.
 
What is happening is simply this: one of the modules we use somewhere has a bug where it makes a call to the database and then for some reason never closes the connection. More and more of these connections build up until the database has no free connections and then the website times out for a couple of minutes while the server figures it needs to reset the server and free up the connections.
 
So while we’ve worked out many of the issues the server was having and we’re seeing a lot of stability and speed gains from that work, we still need to track down and kill some bugs in the modules used in the website before we see the ‘pool’ errors go away.
 
In the mean time should the site go down, it should only take a couple of minutes for the site to come back up. On the plus side, once we can nail down this issue we can reable some of the other features of the site.
 
Thank you for your patience.
 
P.S. never feel too shy to post about any issues you have or problems you see with the site, this will only help us know where we need to be focusing our efforts.
 
P.S. We’re using a different temporary chat room module. This one should be a bit more compatible with a wider variety of browsers. If it should act up you might try leaving that page (going to another page) then returning and seeing if the problem clears up. We’re working on a more stable version of the chatroom software.


Lol, what does that mean in english??? Lol! :)

sgMarshallUser is Offline

Forum Admin
JK Website Admin

Posts:446


08/18/2009 12:17 AM  

In English:

The website content is stored in a database.

The database can accept only so many requests for information at a time.

Each view of a website can result in several to dozens of requests to the database.

Bad requests (ones which do not tell the database to close connections when finished) will tie up a database. Enough bad requests (even if the request is coming from viewing the same item/page by the same person) will exceed the number of pools allowed and cause the website to lose connection to the database.

When this occures you'll see a simple page saying that the number of connections has been exceeded. The website will reset in a few minutes after this problem occures.

If this should happen to you, it would be useful if you can explain what you were doing on the site and where on the site you were.

Lastly, I've not seen this problem in about a week now, so it may be we've mangaged to track down the bugs that were causing it and get rid of them.

AngelarK1User is Offline

Posts:300

08/25/2009 5:56 PM  
Okay, well, still not sure I understand this, but one of the threads I tried to click on last night was stickied and the site kind of went into a stalemate. I never did get on the thread. Maybe because they are stickied?
RatkeeperUser is Offline



Posts:3708


08/26/2009 7:13 AM  

Hi Angela,

The sticky just keeps it at the top of the page. There is one group of threads that might lock up because of all the graphics. Those are the Operation Blackjack sticked threads in the game forum.

Do you remember in which forum you were in?

Gwen


,-   ()()
'.,--( °°>:
  \ , /
   '-'''

Jericho graphic novel is available now via Amazon
AngelarK1User is Offline

Posts:300

08/26/2009 5:32 PM  
I can't find it right now, i'm still finding my way around, but it was the
Apocolyptic (sp?) one
You are not authorized to post a reply.
Forums > Information > Site Announcements > Site Status Aug 2009



ActiveForums 3.7

  
forums panel

 Page generated in 0.156255 seconds.
Terms Of Use    Privacy Statement
Copyright (c) 2012 Jericho-Kansas
This site seeks to promote Jericho and neither intentionally or otherwise makes any claims to the intellectual property of others.
Specifically including, but not limited to: CBS / Paramount Entertainment, Junction Entertainment or any of the partners.
Any material produced or referred to on this website is for a nonprofit educational purpose within the scope of 17 U.S.C. § 107.