Page 4 of 5 FirstFirst 12345 LastLast
Results 31 to 40 of 45

Thread: thank you spec!

  1. #31
    Join Date
    Feb 2007
    Posts
    1,805

    Default

    Allright, so the last few days sucked more than one of those Dyson things and I got a nap so I figure I should go over what happened in excruciating detail and cover what I think needs to be done here shortly

    Here goes:

    Sometime on Friday the site started having issues like it did last week. Last week the Fast_CGI spawn process for PHP that Apache uses started loading up multiple instances, which only happens if someone manages to load the page up within 200ms of someone else, so it was odd to see 6 of them just sitting there, constantly. As soon as one would timeout after about 60 seconds another one would take it's place and do a whole lot of nothing. I, at that time, didn't suspect MySQL because it's always been pretty good, albeit slow, here.

    After a few reboots and messing around for a couple hours I was pretty sure it was a network transport error. I sent a message to support asking them to include me in the list of affected clients. Would hate to be left out in the cold after a fix... And thus started their *now apparently standard* 20 hour reply time. I figured they were busy given there were vague recent notices at the hosts off-site status page about core networking issues so I just brushed it off as something that will go away once they slap a router around. What happened next boggles my mind. I was told it was my fault for not having enough resources allocated to the VPS because all they saw were the hanging fcgid processes. I did not enjoy that. At all. Your shit is broken and it's my wallets fault? Fuck you, in the mouth, with a brick.

    I issued a pretty "not kid safe" email covering all the ways they were wrong up to and including overwriting the Apache config file and setting the fcgid spawn limit to 1,000,000(which is fucking stupid to do by the way, but I had a point to make). Didn't hear back from them for about a day but it didn't matter - by then PL was running again.

    Hooray, problem solved.

    Then Friday happened. Holy crap.

    Friday the same thing started happening, the support requests were sent by me pretty damn fast this time. I was not looking forward to the back and forth with their tech staff but hey, the spice must flow.

    It rapidly became apparent that there was some bad voodoo at work. Their support had no idea but at least they didn't blame my wallet this time. I started digging into what was causing the processes to hang and eventually found out it was the worst kind of error - the kind that doesn't look like one. Turns out that it was taking 30 seconds per page request to *authenticate* to the MySQL server.

    Doing this manually, after connected, it was pretty snappy but there was obviously something horrifically wrong with their network or whatever authentication voodoo they used to handle the transport. I then hid the forum, disabled all plug-ins/hooks/third party packages running here, shut down the board,sanitized the database and got new known-sane database backups made and then moved them the hell out of this system as fast as I could. I could already see that this could get a hell of a lot worse and I was doing myself no favors by trusting the host at this point.

    Lets pretend I wrote a paragraph about the nightmare that was dealing with their support staff here.

    Anywho, I looked into half a dozen different ways to get the core of PL up, including moving the clean copies to another host online as a temp fix. I eventually decided not to do this because then I would have to migrate the database back and that never goes right.

    Other hacks were tried, like trying to lock in persistent connections to the MySQL server so there would only be a 30 second load time every couple hundred page connects or whenever the _pconnect thing decides Apache has had enough and cycles it. This, it turns out, is impossible when PHP is loaded as a CGI module because it trashes the process every request and the effective outcome would be having a few hundred mysql connections open doing a whole lot of nothing which would complicate the hell out of the back-end command line stuff I was doing.

    Basically I was SOL and I was at the mercy of the support staff there. I couldn't fix the transport/MySql issue because doing so would require me to have root access to their routers/MySQL servers.

    So It's "Hurry up and wait." for days.

    Eventually the host decided to move the web server into the same datacenter as the MySQL server... At first I thought I read that wrong, but nope. They are in different data centers in different cities. Why have 7 points of failure when you can have 80 for twice the price! I'm sure they have a reason for it but whatever it is I wouldn't believe.

    Actually, if they had multiple redundant servers geographically isolated to protect data integrity in the event of nuclear strike or something equally unlikely I would accept it, but as proven, they don't and won't.

    Now heres the rub: It averaged 20 hours per reply from support. So it took the better part of three days to get the server moved to where it should have lived in the first place.

    Basically, without this hurry up and wait shit - worst case - PL would have been down for about 6 hours or however long it takes to replicate the data elsewhere.

    I found the problem, their solution and remedy, and their reply time to be unacceptable. Which brings me to now and what I should do.

    I will be moving PL the fuck out of this location. I've received numerous offers from lots of tech minded people here offering up resources and I am milling them over while playing with another VPS somewhere else that isn't managed. I mean really, why would I want them to manage the system at this point?

    I've been a client of them for near a decade, my account number with them is in the low 5 digits and I swear it used to be better. Hindsight being what it is has basically shown me that I have been delaying the inevitable with every odd workaround I have tried here.

    Turns out that time causes processors to get stupid fast so VPS's better than I have here can get true hardware virtualization for less money and it puts the ball back in my court save for things like real data center outages.

    Basically most everything I am seriously milling over is in the San Diego area and have a pretty neat option of hiding in a multi cabinet cage in a real data center under a business where my friend is the CTO. So, either way - I am getting better than average hardware installed or renting some space on some serious give-a-shit hardware. Whatever the solution - The current host will have nothing to do with it and outages like this will be dealt with in the time it takes me to go to a datacenter / reimage a VPS from backups. Either option will greatly facilitate me "fixing junk" like getting per user FTP login credentials for the stuff here, like it should have been a year ago and things like getting SSL certs become trivial so I could run a web-store or something.

    Besides, it's a lot of fun to try and see how fast I can get a server to host pages. With enough hardware I could memcache the entire database and boom, it doesn't get much faster.

    So yea, sorry about the last few days here. Also, it was good chatting with a bunch of you in IRC. Don't be a stranger.

    Edit: I am leaving out the hosts name for the time being because I want to get things squared away before this page shows up in Google as $HOST SUCKS AND KILLED MY INNER CHILD.

  2. #32
    Join Date
    Jan 2011
    Location
    Santa Cruz, CA
    Posts
    309

    Default

    Thanks Spec! I appreciate the work you do for this community.

  3. #33
    Join Date
    Feb 2007
    Location
    Delaware USA
    Posts
    794

    Default

    Thanks Spec.... Your the best...

    Mark

  4. #34
    Join Date
    Oct 2010
    Location
    Athens, Greece
    Posts
    1,930

    Default

    I must be really lucky,,,, was away with no internet access for the last 5 days and only came back last night, late
    So, I missed the most specacular recovery in recent PL history... ... ...

    in any case thanks sir spec!
    "its called character briggs..."

  5. #35
    Join Date
    Mar 2008
    Location
    Ireland
    Posts
    184

    Default

    Thanks for the PL Fix!

    PL Fix.jpg

  6. #36
    Join Date
    May 2008
    Location
    Once it was called "Bel Paese" = ITALY
    Posts
    858

    Default

    Thank you very much Spec!

    You 've resurrected the Forum
    You 've resurrected all of us (me first...)

    My day is an empty day without PL Forum. It's like oxigen to me.

    Grazie!
    my webpage
    http://stevemilani.jimdo.com
    Skype ID: stevemilani957

    my RGB analogue projectors:
    3.9 W (640/532/445) 30kpps
    2.6 W (655/532/450) 30kpps
    2.5 W (638/532/450) 30kpps
    0.7 W (test unit)(635/532/473) 18kpps

  7. #37
    Join Date
    Nov 2005
    Location
    Chicago, IL
    Posts
    65

    Default

    Thank you for enduring the sitcom of the less than adequate host!
    I know what I want and I know how to get it
    I want to destroy passersby! - Sex Pistols

  8. #38
    Join Date
    Jan 2007
    Location
    Sheepsville, Wales, UK
    Posts
    3,407

    Default

    I think this episode really highlights the work our illustrious janitor does behind the scenes.
    Kudos Spec.

    Rob
    If you need to ask the question 'whats so good about a laser' - you won't understand the answer.
    -----------------------------------------------------------------------------------------------
    Laserists do it by the nanometre.

    Stanwax Laser is a Corporate Member of Ilda

    Stanwax Laser main distributor of First Contact in UK - like us on Facebook http://www.facebook.com/FirstContactPolymerCleaner
    www.photoniccleaning.co.uk

  9. #39
    Join Date
    Jun 2008
    Location
    Yellowknife, NT, Canada
    Posts
    2,147,484,113

    Default

    Thanks Spec! Good job

  10. #40
    Join Date
    Sep 2012
    Location
    Manchester, UK
    Posts
    39

    Default

    Quote Originally Posted by norty303 View Post
    Seriously, how long does it take to turn it off and turn it back on again??
    IT crowd <3. Oh my god I love that show...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •