Victory Road  

Go Back   Victory Road > Information Kiosk > Announcements

Notices

Closed Thread
 
Thread Tools Search this Thread
  #1  
Old November 21, 2010, 03:20:17 PM
Cat333Pokémon's Avatar
Cat333Pokémon Cat333Pokémon is online now
Administrator

 
Join Date: Nov 2006
Location: Las Vegas, NV
Posts: 9,270
Default A massive flaw fixed...and a hopefully faster server

As you may or may not have noticed, VR has been having all sorts of errors over the past month. The chat has been kicking people off repeatedly due to dropped connections. Pages wouldn't load without reason.

Well, I finally found the cause. If you ever peeked at the VictoryBattles board, you may have noticed that there have always been at least ten people looking at it at any given time. Well, here's what happened:

When we closed down the Floatzel Pokédoptables, I created a very simple redirect script that sent all traffic over to the Floatzel Migration thread. It literally sent every single request to a file in that folder to the thread...including all of the embedded adoptables. People typically had 5 adoptables in their signatures on other forums. On popular threads, said people could get in a little posting exchange and there could easily be 20-30 adoptables in a single page. If it's a commonly-viewed page on that forum, notably the first page of a news thread, it could get hit hundreds of times. Even though it only loads the HTML document and none of the images, that is a lot of views. Every time it loads, the server has to put together the PHP scripting for the migration thread. (Well, caching might make it do that less.)

The thread is 256 KB (262,733 bytes) right now, and it has averaged that for some time...
A given page loads 20-30 adoptables at a time...
That page gets hundreds of hits...
All for a little bad-image X in someone's signature.

As of now, the thread has 1,121,538 views, which you can see here. Every one of those views was 256 KB or less. Accounting for people who didn't let all of them load, that's 250 GB of bandwidth and well over a million times the server had to put the page together and quite a few million MySQL queries.

Thank you, FreezeWarp, for fixing up the .htaccess script to properly redirect all the image calls. Instead of that massive thead code, this small (840 bytes) image I whipped up is called:
__________________
More pets

Last edited by Cat333Pokémon; November 21, 2010 at 03:26:24 PM.
Sponsored Links
Register or sign in to remove this ad.
  #2  
Old November 21, 2010, 03:22:40 PM
Yoshi648's Avatar
Yoshi648 Yoshi648 is offline
Administrator

 
Join Date: Nov 2006
Location: Yoshi's Island
Posts: 2,601
Default

Oh wow. Well hopefully this will fix our problems.
__________________
WARNING: This guy is crazy.
[YouTube] [deviantArt] [Steam] [LEGO] [Adopts]
Currently playing: Super Smash Bros 3DS and GTA V
  #3  
Old November 21, 2010, 03:29:28 PM
Fubab_107's Avatar
Fubab_107 Fubab_107 is offline
Shaymin
 
Join Date: Mar 2010
Location: The Unknown Pointless Veil.
Posts: 2,555
Default

Lets hope our problems go away. It's a relief to hear this after the massive crash today. O_o'
__________________


^Signature made by: LugiaDialga^
  #4  
Old November 21, 2010, 03:31:27 PM
A'bom's Avatar
A'bom A'bom is offline
Volcarona
 
Join Date: Jun 2010
Location: Kansas
Posts: 530
Default

Hopefully we'll all stop being kicked from the chat for no reason from now on. This should speed things up a bit, hopefully.
  #5  
Old November 21, 2010, 04:40:31 PM
Aquablast's Avatar
Aquablast Aquablast is offline
Landorus
 
Join Date: Jun 2010
Location: Internet
Posts: 1,880
Default

Cross your hand and hope for the best.
__________________

PLEASE CLICK ON THEM!
  #6  
Old November 21, 2010, 05:22:59 PM
JC JC is offline
Banned
 
Join Date: Jul 2010
Location: Missouri
Posts: 923
Default

I hope this works I hate it when I have a refresh issue and being kicked off the chat.
  #7  
Old November 21, 2010, 05:55:18 PM
SK's Avatar
SK SK is offline
Giratina
Classic Frogger Champion
 
Join Date: Feb 2010
Location: Munna Land
Posts: 3,234
Default

Ah, sexy image you came up with there.

Thanks for fixing the problem.
__________________
I'm front! Oh wait, that's not right... I'm back. :3
"March 25th, 2012: The Day the Utters Began to Leak Once More" - Velociraptor78

Help me out with the VR Timeline!
  #8  
Old November 22, 2010, 05:44:05 AM
Shade's Avatar
Shade Shade is offline
Regigigas
 
Join Date: Aug 2010
Location: World of Darkness
Posts: 870
Default

No wonder VR tends to load very slowly. Hope this fixes the speed issue.
__________________
  #9  
Old November 22, 2010, 07:28:35 AM
The Spirit of Time's Avatar
The Spirit of Time The Spirit of Time is offline
Rayquaza
 
Join Date: Dec 2009
Location: Dubai
Posts: 4,021
Default

Personally, I never faced an issue. It was always fast to me.
Of course, what you did was the good for all, so good job!
__________________
http://i45.tinypic.com/dqojdt.png
  #10  
Old November 22, 2010, 08:18:28 AM
Shadow's Avatar
Shadow Shadow is offline
Giratina
 
Join Date: Nov 2009
Location: Dubai
Posts: 3,016
Default

Yeah, same here. I didn't exactly stumble upon the errors/crashes which are mentioned over here, but still, what you did will hopefully solve all these problems.

Last edited by Shadow; November 22, 2010 at 08:18:45 AM.
  #11  
Old November 22, 2010, 11:00:26 AM
Quadcentruo's Avatar
Quadcentruo Quadcentruo is offline
Giratina
Snake Champion Spongebob B.C. Bowling Champion Winter Bells Champion Connect Four Champion Big Money Champion Galaga Champion
 
Join Date: Nov 2009
Location: Unknown area
Posts: 3,659
Default

You know, I have noticed this forum has gotten faster. So far, no issues - as in, I haven't had to hit refresh 5 times every time a page doesn't load or I haven't had to wait 5 minutes for one page to load.

Good job Cat and Freeze.
__________________

VRGL's Dark Type Gym Leader
Pokémon Black Friend Code: 2022-4252-9050

<a href=http://i46.tinypic.com/20sgb5t.png target=_blank>http://i46.tinypic.com/20sgb5t.png</a>
The Rate of Constant EXP
  #12  
Old November 22, 2010, 02:32:48 PM
Cat333Pokémon's Avatar
Cat333Pokémon Cat333Pokémon is online now
Administrator

 
Join Date: Nov 2006
Location: Las Vegas, NV
Posts: 9,270
Default

Quote:
Originally Posted by The Spirit of Time View Post
Personally, I never faced an issue. It was always fast to me.
Of course, what you did was the good for all, so good job!
Quote:
Originally Posted by Shadow View Post
Yeah, same here. I didn't exactly stumble upon the errors/crashes which are mentioned over here, but still, what you did will hopefully solve all these problems.
Don't forget, you both are typically on in the dead of night for the United States, which is when it usually when the site isn't being swamped with hits.
__________________
More pets
  #13  
Old November 23, 2010, 04:58:56 PM
Flare Soru's Avatar
Flare Soru Flare Soru is offline
Volcarona
 
Join Date: Aug 2009
Location: There. *points at map*
Posts: 501
Default

I was wondering why that forum had so many people looking at it.
Hopefully this helps.
__________________
I have yet to play Gen 6. *gets shot*
If you feel like it, drop by and say hi! https://www.youtube.com/user/MLPHeatwave

  #14  
Old November 23, 2010, 10:42:29 PM
Ningamer's Avatar
Ningamer Ningamer is offline
Giratina
Skee Ball Champion Bloons Champion Asteroid's Revenge Champion Pinball Deluxe Champion 1992 Champion
 
Join Date: Sep 2009
Location: South-East England
Posts: 3,266
Default

Maybe Lite can stop quadruple posting in the chat now...

I never noticed many problems, but I guess I'm not on when most others are. Still, it's great to hear that you've found a solution!
__________________
  #15  
Old November 24, 2010, 03:06:52 AM
Aquablast's Avatar
Aquablast Aquablast is offline
Landorus
 
Join Date: Jun 2010
Location: Internet
Posts: 1,880
Default

Same here Nin and only sometimes that the server is down.
__________________

PLEASE CLICK ON THEM!
Closed Thread

Tags
adoptables, downtime, error, server, victory road, victorybattles

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 10:18:59 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Victory Road ©2006 - 2014, Scott Cat333Pokémon Cheney
Theme by A'bom and Cat333Pokémon