Page 1 of 1 [ 16 posts ] 

Starr
Veteran
Veteran

User avatar

Joined: 17 Sep 2006
Age: 69
Gender: Female
Posts: 4,052

06 Nov 2007, 9:38 am

I am getting this message a lot lately :-

Wrong Planet is currently experiencing a high amount of traffic.

We should be back in 2 to 3 minutes or less.

Also, when I get into WP, pages seem to take a long time to load.



Comet
Veteran
Veteran

User avatar

Joined: 18 Dec 2006
Age: 35
Gender: Male
Posts: 1,290
Location: SpectrumForums.com

06 Nov 2007, 2:25 pm

At this moment it says theres 0 members online,



alex
Developer
Developer

User avatar

Joined: 13 Jun 2004
Age: 40
Gender: Male
Posts: 10,224
Location: Beverly Hills, CA

06 Nov 2007, 3:35 pm

Starr wrote:
I am getting this message a lot lately :-

Wrong Planet is currently experiencing a high amount of traffic.

We should be back in 2 to 3 minutes or less.

Also, when I get into WP, pages seem to take a long time to load.


That message appears when so many people are using the site that our server (despite being very fast) can't handle all the requests. What we need are two fast servers to distribute the load between.


_________________
I'm Alex Plank, the founder of Wrong Planet. Follow me (Alex Plank) on Blue Sky: https://bsky.app/profile/alexplank.bsky.social


Quatermass
Veteran
Veteran

User avatar

Joined: 27 Apr 2006
Age: 43
Gender: Male
Posts: 18,779
Location: Right behind you...

06 Nov 2007, 5:15 pm

alex wrote:
Starr wrote:
I am getting this message a lot lately :-

Wrong Planet is currently experiencing a high amount of traffic.

We should be back in 2 to 3 minutes or less.

Also, when I get into WP, pages seem to take a long time to load.


That message appears when so many people are using the site that our server (despite being very fast) can't handle all the requests. What we need are two fast servers to distribute the load between.


But acquisition of said extra server will be a challenge, yes?


_________________
(No longer a mod)

On sabbatical...


KBABZ
Veteran
Veteran

User avatar

Joined: 20 Sep 2006
Age: 35
Gender: Male
Posts: 6,012
Location: Middle Earth. Er, I mean Wellywood. Wait, Wellington.

07 Nov 2007, 1:00 am

Quatermass wrote:
alex wrote:
Starr wrote:
I am getting this message a lot lately :-

Wrong Planet is currently experiencing a high amount of traffic.

We should be back in 2 to 3 minutes or less.

Also, when I get into WP, pages seem to take a long time to load.


That message appears when so many people are using the site that our server (despite being very fast) can't handle all the requests. What we need are two fast servers to distribute the load between.


But acquisition of said extra server will be a challenge, yes?

And likely require funds...


_________________
I was sad when I found that she left
But then I found
That I could speak to her,
In a way
And sadness turned to comfort
We all go there


Tim_Tex
Veteran
Veteran

User avatar

Joined: 2 Jul 2004
Age: 46
Gender: Male
Posts: 46,698
Location: Houston, Texas

10 Nov 2007, 11:38 pm

I got this a few days ago.

Tim


_________________
Who’s better at math than a robot? They’re made of math!


Tim_Tex
Veteran
Veteran

User avatar

Joined: 2 Jul 2004
Age: 46
Gender: Male
Posts: 46,698
Location: Houston, Texas

11 Nov 2007, 7:07 pm

We do occasionally get notices to support WP.

Tim


_________________
Who’s better at math than a robot? They’re made of math!


ahayes
Veteran
Veteran

User avatar

Joined: 2 Dec 2006
Gender: Male
Posts: 9,506

11 Nov 2007, 11:52 pm

alex wrote:
That message appears when so many people are using the site that our server (despite being very fast) can't handle all the requests. What we need are two fast servers to distribute the load between.


BS, your suckage at using mysql is the problem, it happens at 11p MST every single day, you just changed it from the old error to the new one so you wouldn't look like the dunce you are. By the way, it didn't work.



greenblue
Veteran
Veteran

User avatar

Joined: 25 Mar 2007
Age: 50
Gender: Male
Posts: 7,896
Location: Home

12 Nov 2007, 12:59 am

This is just a thought, maybe this is a dumb idea, but moving some forums to member only section like the random forum for example, would that help to decrease the traffic a little in order to not get that error for the time being?


_________________
?Everything is perfect in the universe - even your desire to improve it.?


Icarus_Falling
everyman antihero
everyman antihero

User avatar

Joined: 11 Jul 2007
Age: 53
Gender: Male
Posts: 1,215
Location: beyond human comprehension

12 Nov 2007, 8:44 pm

alex wrote:
That message appears when so many people are using the site that our server (despite being very fast) can't handle all the requests. What we need are two fast servers to distribute the load between.

I came into this forum room to start a thread about this, but this one will do.

I'm generally not one to complain, but the frequent short site outages are messing with the flow of my qi, which is not a good thing for Icarus's state of mind or spirit.

Can we start a fund for a second server? Mabye toss a "Funds for second server" meter at the top of the site page like Wikipedia does? How much are we talking here?

(This site is run off of just one server? 8O :o )

Good fortune,

- Icarus needs the posting qi to flow smoothly...


_________________
Please forgive me if, in the heat of battle, I sometimes forget which side I'm on.


KingdomOfRats
Veteran
Veteran

User avatar

Joined: 31 Oct 2005
Age: 42
Gender: Female
Posts: 4,833
Location: f'ton,manchester UK

12 Nov 2007, 9:04 pm

just a thought [possibly crap,don't know enough about it]....but would it be possible for supportive users to act as "supernodes" for wrong planet in the same way it works for peer to peer programs?


_________________
>severely autistic.
>>the residential autist; http://theresidentialautist.blogspot.co.uk
blogging from the view of an ex institutionalised autism/ID activist now in community care.
>>>help to keep bullying off our community,report it!


alex
Developer
Developer

User avatar

Joined: 13 Jun 2004
Age: 40
Gender: Male
Posts: 10,224
Location: Beverly Hills, CA

12 Nov 2007, 9:06 pm

after spending the entire weekend and most of today working on this issue, I think I have been able to optimize the site, the databases, and the database queries in such a way that this won't happen anymore.

The database is run off of just one server but that server is a dual core machine running FreeBSD so it's very stable and fast.

However, all of the connection problems were the result of too many people posting at the same time which had been causing database deadlocks. I switched the users, posts, topics, and forums tables to a more robust table storage engine (innodb instead of MyISAM) and there have been no more deadlocks (that i've witnessed) since the conversion. The conversion occurred sometime this afternoon.

If the deadlocks persist, I will further optimize the queries that have been causing them (which will only affect forum statistics listed under the "number of views" etc columns.)

As of thursday or friday, all images (except for most of the avatars) are now being served from one of 11+ internationally based data centers so the main server no longer needs to deal with those. You are automatically connected to the datacenter closest to you (for instance, australian users download from australia, UK users download from london, asian users download from tokyo, west coast users download from california, canadians download from either canada or usa depending on which center they're closer to, etc).

This should mainly benefit international and non east coast USA members. And members won't even notice that this is happening (aside from everything happening faster). The process is seamless and robust.


_________________
I'm Alex Plank, the founder of Wrong Planet. Follow me (Alex Plank) on Blue Sky: https://bsky.app/profile/alexplank.bsky.social


KBABZ
Veteran
Veteran

User avatar

Joined: 20 Sep 2006
Age: 35
Gender: Male
Posts: 6,012
Location: Middle Earth. Er, I mean Wellywood. Wait, Wellington.

13 Nov 2007, 2:23 am

alex wrote:
after spending the entire weekend and most of today working on this issue, I think I have been able to optimize the site, the databases, and the database queries in such a way that this won't happen anymore.

The database is run off of just one server but that server is a dual core machine running FreeBSD so it's very stable and fast.

However, all of the connection problems were the result of too many people posting at the same time which had been causing database deadlocks. I switched the users, posts, topics, and forums tables to a more robust table storage engine (innodb instead of MyISAM) and there have been no more deadlocks (that i've witnessed) since the conversion. The conversion occurred sometime this afternoon.

If the deadlocks persist, I will further optimize the queries that have been causing them (which will only affect forum statistics listed under the "number of views" etc columns.)

As of thursday or friday, all images (except for most of the avatars) are now being served from one of 11+ internationally based data centers so the main server no longer needs to deal with those. You are automatically connected to the datacenter closest to you (for instance, australian users download from australia, UK users download from london, asian users download from tokyo, west coast users download from california, canadians download from either canada or usa depending on which center they're closer to, etc).

This should mainly benefit international and non east coast USA members. And members won't even notice that this is happening (aside from everything happening faster). The process is seamless and robust.


In short: No more Error Messages hopefully!!


_________________
I was sad when I found that she left
But then I found
That I could speak to her,
In a way
And sadness turned to comfort
We all go there


Pandora
Veteran
Veteran

User avatar

Joined: 17 Jun 2005
Age: 65
Gender: Female
Posts: 3,553
Location: Townsville

18 Nov 2007, 6:54 am

I notice none of those silly mysql errors today so the change seems to have done a lot of good.


_________________
Break out you Western girls,
Someday soon you're gonna rule the world.
Break out you Western girls,
Hold your heads up high.
"Western Girls" - Dragon


Starr
Veteran
Veteran

User avatar

Joined: 17 Sep 2006
Age: 69
Gender: Female
Posts: 4,052

18 Nov 2007, 7:20 am

Yes, it seems to have worked :)



0_equals_true
Veteran
Veteran

User avatar

Joined: 5 Apr 2007
Age: 44
Gender: Male
Posts: 11,038
Location: London

18 Nov 2007, 7:42 am

alex wrote:
However, all of the connection problems were the result of too many people posting at the same time which had been causing database deadlocks. I switched the users, posts, topics, and forums tables to a more robust table storage engine (innodb instead of MyISAM) and there have been no more deadlocks (that i've witnessed) since the conversion. The conversion occurred sometime this afternoon.

Nice one :thumleft: