WrongPlanet.net
WP Members: > 75,000



Aspie Affection

New Today: 15
New Yesterday: 34

Message when server is overloaded is WRONG 1, 2  Next  
Post new topic   Reply to topic    Wrong Planet Autism Forum Index -> WrongPlanet.net discussion     
nick007
old-skewl fan-boy
Phoenix


Joined: May 05, 2010
Age: 30
Posts: 9805
Location: was Louisiana but moved in with my girlfreind in Vermont

PostPosted: Wed Mar 14, 2012 12:36 am    Post subject: Message when server is overloaded is WRONG Reply with quote

Message says Arrow
Quote:
Wrong Planet is currently experiencing a VERY high amount of people posting messages to the site and can't handle the load.

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

To pass the time, watch autism talk tv:

The site is always down for a lot longer than 2 minutes. This message might would be accurate if there was a zero after the one & the two
_________________
For info about where I've been & what's up with me check this post~
http://www.wrongplanet.net/postp5105431.html&highlight=#5105431
Back to top
View user's profile Send private message Visit poster's website
Shatbat
Fénix
Phoenix


Joined: Feb 20, 2012
Age: 20
Posts: 4509
Location: South America

PostPosted: Wed Mar 14, 2012 12:54 am    Post subject: Reply with quote

I'd want to know... what happened?
I've not been around that long, so it's the first time it crashes for me but... why?
Back to top
View user's profile Send private message
Alexender
Dodo bird
Phoenix


Joined: Jan 03, 2012
Age: 20
Posts: 1194
Location: wrongplanet

PostPosted: Wed Mar 14, 2012 1:00 am    Post subject: Reply with quote

Read a long thread about it. Pretty much This site uses an old type of code that is hard to transfer (been modified), the server is completely overloaded all the time.
_________________
www.wrongplanet.net
Back to top
View user's profile Send private message
alex
Developer
Developer


Joined: Jun 14, 2004
Age: 26
Posts: 8111
Location: Beverly Hills, CA

PostPosted: Wed Mar 14, 2012 1:04 am    Post subject: Reply with quote

Our servers were overloaded because we had too many people on the site at once. This is happening more and more as we grow in size.
_________________
Follow me on Twitter: http://twitter.com/alexplank

FB fan page: http://fb.me/alexplank0
Personal FB: http://fb.me/alexplank1
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
nat4200
Phoenix
Phoenix


Joined: Jan 11, 2011
Posts: 704
Location: BANNED

PostPosted: Wed Mar 14, 2012 1:05 am    Post subject: Reply with quote

Redacted

Last edited by nat4200 on Sat Apr 21, 2012 2:39 am; edited 1 time in total
Back to top
View user's profile Send private message
TenPencePiece
Curiosity Killed the Cone
Phoenix


Joined: Dec 12, 2009
Age: 18
Posts: 44574
Location: Greater Manchester, United Kingdom

PostPosted: Wed Mar 14, 2012 7:51 am    Post subject: Reply with quote

^ But by users does it mean members only or everyone who visits?

I've seen that error page plenty of times - maybe the first time it happened it actually was for 1-2 minutes or less Wink
_________________
Ten's radio show: Next repeated at 10am BST Friday
My site: www.thinking-different.com
Skype: fiftypencepiece (ConeFool)
Back to top
View user's profile Send private message Visit poster's website
Cornflake
Rattles when shaken
Forum Moderator


Joined: Oct 31, 2010
Posts: 31586
Location: Hertfordshire, UK

PostPosted: Wed Mar 14, 2012 8:29 am    Post subject: Reply with quote

^^ Everyone who visits represents a load to the server, while pages are being served out to them.
_________________
Giraffe: a ruminant with a view.
Back to top
View user's profile Send private message
nat4200
Phoenix
Phoenix


Joined: Jan 11, 2011
Posts: 704
Location: BANNED

PostPosted: Wed Mar 14, 2012 8:47 am    Post subject: Reply with quote

Redacted

Last edited by nat4200 on Sat Apr 21, 2012 2:36 am; edited 1 time in total
Back to top
View user's profile Send private message
nat4200
Phoenix
Phoenix


Joined: Jan 11, 2011
Posts: 704
Location: BANNED

PostPosted: Wed Mar 14, 2012 9:09 am    Post subject: Reply with quote

Redacted

Last edited by nat4200 on Sat Apr 21, 2012 2:36 am; edited 1 time in total
Back to top
View user's profile Send private message
sliqua-jcooter
Phoenix
Phoenix


Joined: Jan 26, 2010
Posts: 814
Location: Burke, Virginia, USA

PostPosted: Wed Mar 14, 2012 9:41 am    Post subject: Reply with quote

nat4200 wrote:
It annoys me too! I would like to add the following additional complaints about that page:
  • It is served with a HTTP 200 response code rather than a code in the 500-599 range. Code in the 500-599 range are for server errors; 200 means "OK" and is the response code one should get when they are successfully served the page/s requested


The page is displayed with a 200 response code to avoid the browser "taking over" with their own error message - every other service does the same thing (twitter is a good example). Having said that, the choice in software to run the site has nothing to do with me.

Quote:
  • There's advertising on the error page Neutral (as well as a Youtube clip). The error page shouldn't just be light on the server it should be light for the frustrated users. I feel having an ad on such a page is poor netiquette


  • Again, I can't speak to any of this.

    Quote:
  • The site is hosted by the "Sliqua Server Environment" which boasts about having webhosting with high uptime and scalability to support a million users (WP currently boasts a mere 63 thousand members). I get that the WP might be hosted by Sliqua as a favor to the community, but my experience with this site is my experience with their hosting.


  • First of all, Sliqua isn't doing anything for charity. We're a service provider, we get paid. Period. I wouldn't appreciate being paged in the middle of the night if we were.

    Now, from a server load perspective, "users" is simply the raw requests per second. Our benchmarks on off-the-shelf code with off-the-shelf optimizations such as caching and database connection pooling (both features that WP just doesn't support) give us ~150 requests per second on our environment. We can do more in a clustered setup with load balancers.

    WP doesn't come anywhere near that number on the same system, due to how it's coded.
    Back to top
    View user's profile Send private message Send e-mail Visit poster's website
    nat4200
    Phoenix
    Phoenix


    Joined: Jan 11, 2011
    Posts: 704
    Location: BANNED

    PostPosted: Wed Mar 14, 2012 10:32 am    Post subject: Reply with quote

    Redacted

    Last edited by nat4200 on Sat Apr 21, 2012 2:36 am; edited 1 time in total
    Back to top
    View user's profile Send private message
    sliqua-jcooter
    Phoenix
    Phoenix


    Joined: Jan 26, 2010
    Posts: 814
    Location: Burke, Virginia, USA

    PostPosted: Wed Mar 14, 2012 10:58 am    Post subject: Reply with quote

    nat4200 wrote:
    sliqua-jcooter wrote:
    The page is displayed with a 200 response code to avoid the browser "taking over" with their own error message - every other service does the same thing (twitter is a good example). Having said that, the choice in software to run the site has nothing to do with me.


    In this regard, I am afraid I must argue that you are mistaken. Twitter does not do that, nor do the majority of other sites.

    The sources I can find say Twitter's famous "Fail Whale" error page is served with the appropriate HTTP response codes (eg. 503).

    More easily reproducible (I'm not going to try and get a 503 from Twitter) is a 404 response. Try visiting a Twitter page that shouldn't exist, I used: http://twitter.com/jfgwrhfbekavbksbtklsrtbg Note the friendly Twitter "Sorry, that page doesn’t exist!" page, now check the HTTP response code that page was served to you with. You should see that Twitter does indeed serve their "Sorry, that page doesn’t exist!" page with a 404 response code.

    If you are concerned about Internet Explorer and its enabled-by-default "Friendly HTTP Error Pages" feature replacing your custom error pages, you should know that it will only do so if the error page you serve back to the browser is very short; short as in less then 512 bytes


    First of all, you seem to have missed the part where I said "the choice in software to run the site has nothing to do with me".

    However, I wasn't referring to the IE 6.x-9.x "friendly" status code pages, I was referring to the early 5.x (which was later changed) policy to *always* overwrite a 500 error. When the software that powers this site was written, that was a "standard" practice implemented by the worlds most popular web browser (by far).

    You can see that every other error code is exposed correctly:
    Quote:
    [jcooter@mnemosyne ~]$ curl -v http://www.wrongplanet.net/woeruyhasdhfadg
    * About to connect() to www.wrongplanet.net port 80 (#0)
    * Trying 67.217.166.186... connected
    * Connected to www.wrongplanet.net (67.217.166.186) port 80 (#0)
    > GET /woeruyhasdhfadg HTTP/1.1
    > User-Agent: curl/7.19.7 (x86_64-unknown-linux-gnu) libcurl/7.19.7 NSS/3.12.6.2 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
    > Host: www.wrongplanet.net
    > Accept: */*
    >
    < HTTP/1.1 404 Not Found
    < Date: Wed, 14 Mar 2012 14:56:26 GMT
    < Server: Sliqua Server Environment
    < Status: 404 Not Found
    < Vary: Accept-Encoding
    < Content-Length: 325
    < Connection: close
    < Content-Type: text/html; charset=ISO-8859-1


    Quote:
    [jcooter@mnemosyne ~]$ curl -v wrongplanet.net
    * About to connect() to wrongplanet.net port 80 (#0)
    * Trying 67.217.166.186... connected
    * Connected to wrongplanet.net (67.217.166.186) port 80 (#0)
    > GET / HTTP/1.1
    > User-Agent: curl/7.19.7 (x86_64-unknown-linux-gnu) libcurl/7.19.7 NSS/3.12.6.2 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
    > Host: wrongplanet.net
    > Accept: */*
    >
    < HTTP/1.1 301 Moved Permanently
    < Date: Wed, 14 Mar 2012 14:57:31 GMT
    < Server: Sliqua Server Environment
    < Location: http://www.wrongplanet.net/
    < Vary: Accept-Encoding
    < Content-Length: 235
    < Connection: close
    < Content-Type: text/html; charset=iso-8859-1
    <
    Back to top
    View user's profile Send private message Send e-mail Visit poster's website
    nat4200
    Phoenix
    Phoenix


    Joined: Jan 11, 2011
    Posts: 704
    Location: BANNED

    PostPosted: Wed Mar 14, 2012 12:01 pm    Post subject: Reply with quote

    Redacted

    Last edited by nat4200 on Sat Apr 21, 2012 2:35 am; edited 1 time in total
    Back to top
    View user's profile Send private message
    sliqua-jcooter
    Phoenix
    Phoenix


    Joined: Jan 26, 2010
    Posts: 814
    Location: Burke, Virginia, USA

    PostPosted: Wed Mar 14, 2012 12:55 pm    Post subject: Reply with quote

    nat4200 wrote:
    but honestly IE 5.x was superseded long enough ago that I'm not going to try and dig up anything more specific source to prove a point.


    Fair enough, regardless of who's "right" on a quirk of a browser that's been effectively dead for 10 years - the bigger point is that, at the time, the accepted way to code a custom 500 error page was to expose it as a 200 OK page to avoid this issue. And, technically, there's nothing wrong with that.

    It's left up to the application developer to define what is, and is not, a failure as defined by the HTTP RFC. In this particular instance, when the application that powers this site can't load the dynamic content that makes up a page, it chooses to instead render a static page.

    The application itself hasn't necessarily failed, it just isn't able (or willing) to take on additional load to give the user the intended page.

    This is, of course, all completely semantic - and mostly irrelevant, but you *did* bring it up.
    Back to top
    View user's profile Send private message Send e-mail Visit poster's website
    nat4200
    Phoenix
    Phoenix


    Joined: Jan 11, 2011
    Posts: 704
    Location: BANNED

    PostPosted: Wed Mar 14, 2012 2:07 pm    Post subject: Reply with quote

    Redacted

    Last edited by nat4200 on Sat Apr 21, 2012 2:35 am; edited 1 time in total
    Back to top
    View user's profile Send private message
    Post new topic   Reply to topic    Wrong Planet Autism Forum Index -> WrongPlanet.net discussion   
    1, 2  Next  

     
    Read more Articles on Wrong Planet



    Wrong Planet is a Registered Trademark.
    Copyright 2004-2013, Wrong Planet, LLC and Alex Plank. Alex does public speaking for Autism.

    Advertise on Wrong Planet

    Alex Hotchalk / Glam 

    Alex Plank  Aspie Affection 

    Terms of Service - You must read this as a user of Wrong Planet | Privacy Policy

    Subscribe: RSS Feed  Wrong Planet News  Wrong Planet Forums




    fine art