Results 1 to 8 of 8

Thread: 500 error?

  1. #1
    mixedgas's Avatar
    mixedgas is offline Creaky Old Award Winning Bastard Technologist
    Infinitus Excellentia Ion Laser Dominatus
    Join Date
    May 2007
    Location
    A lab with some dripping water on the floor.
    Posts
    9,890

    Default 500 error?

    why did i GET:
    sEVERAL TIMES TODAY...


    HOLYCRAP:500'D!

    Server played Russian roulette with a rocket launcher.

    I will pretend this is your fault.

    dispatch.cgi == Culprit.

    sTEVE
    Qui habet Christos, habet Vitam!
    I should have rented the space under my name for advertising.
    When I still could have...

  2. #2
    Join Date
    Jan 2006
    Location
    Charleston, SC
    Posts
    2,147,489,446

    Cool

    I've hit that one a couple times in the past. Basically a time-out on the SQL server. Too many people hitting it at once. Just hit refresh on your browser and you'll be fine.

    Adam

  3. #3
    Join Date
    Apr 2005
    Location
    SOUTHAMPTON U.K.
    Posts
    1,357

    Default

    I've had that a couple of times. Much better than the usual server overload messages.

  4. #4
    Join Date
    Feb 2007
    Posts
    1,725

    Default

    Believe it or not... this is not related to the sql server taking a nap. That has its own special error.

    This is a memory alloc issue that happens when a number of "processes"(php scripts) hook into my custom dispatch.cgi file to talk to mysql.

    Every time someone presses a button other than a keystroke here the system has to allocate memory to handle/process/hand-off the data... be it a post/pm etc.

    *sometimes* the destruction of the allocated memory after completion takes too long and leads to an overabundance of memory use from the hundreds of running threads.

    When you see Mr.HolyCrap:500'd! it means that memory space was exhausted and needs to be flushed, fast.

    The odd part about this error is that its wholly unrelated to system memory, it has something *spooky* to do with how the PHP libraries handle the memory.

    Some nonsense about "virtual block spaces".

    Anywho. I tweak the values server side every so often to balance the scales and keep this problem under control.

  5. #5
    Join Date
    Oct 2006
    Location
    Central Florida
    Posts
    7,067

    Lightbulb

    HOLYCRAP:500'D!

    Server played Russian roulette with a rocket launcher.

    I will pretend this is your fault.

    dispatch.fcgi == Culprit.
    I have gotten several of these today. You busy back there?
    Love, peace, and grease,

    allthat... aka: aaron@pangolin

  6. #6
    Join Date
    May 2006
    Location
    Native Floridian
    Posts
    3,127

    Default

    Quote Originally Posted by allthatwhichis View Post
    I have gotten several of these today. You busy back there?
    Someone hasn't been hitting the "Donte?" button enough.

  7. #7
    Join Date
    Oct 2006
    Location
    Central Florida
    Posts
    7,067

    Wink

    Quote Originally Posted by DZ View Post
    Someone hasn't been hitting the "Donte?" button enough.

  8. #8
    Join Date
    Feb 2007
    Posts
    1,725

    Default

    It has nothing to do with the donate button. It's all the way to the right and not colored because after the recent donations PL is taken care of for a little over 6 months.

    I have a lot of "maintenance" scripts running in the background to keep this place clean... You will notice that these weirdo 500 errors usually happen a couple minutes after the top of the hour... Well, thats when the "big clean" happens, every hour. Blows out cache/temp files and purges the dead mysql connections. *Sometimes* theres a lot of junk to clean and the handoff to/from dispatch.fcgi can hang.

    My options to *really* fix this problem are double the server resources which by proxy doubles the cost or break the maint scripts into even smaller sections and queue them up back to back on a 5 minute timer.

    I've been working on the latter for obvious reasons.

    Theres still a lot of crap I have to do in the background that I have been neglecting recently. So I'm going to go get to that.

Posting Permissions

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