HTTP 500, what's that?

Discussion in 'Site & Server Administration' started by einha, Apr 8, 2009.

  1. #1
    Today I moved one of my wordpress powered site to a VPS. But when online users reached about 50, the pages began to load very slow and then at last the pages wouldn't load. All I get now is a HTTP 500 error there.
    Anyone knows what causes the problem? What should I do now? I'm so sad.
    It's a unmanaged VPS, 540MB RAM, running Apache and MySQL.
     
    einha, Apr 8, 2009 IP
  2. einha

    einha Member

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #2
    Here's the error.log:
    WordPress database error MySQL server has gone away for query...
    Code (markup):
     
    einha, Apr 8, 2009 IP
  3. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #3
    500 error mean something goes wrong with ur script or db, take backup and install fresh copy
     
    Jalpari, Apr 8, 2009 IP
  4. einha

    einha Member

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #4
    I contact the support. Thay answered my ticket:
    Have you tuned the Apache MaxClients directive to limit the number of connections Apache will service at once? If Apache is trying to launch too many processes, your VPS will start using swap to stay up and performance will drop off.
    Code (markup):
    I still dont know what to do next.
     
    einha, Apr 8, 2009 IP
  5. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #5
    Check the .htaccess file. Usually this is something like modrewrite or another function that isn't supported.
     
    jestep, Apr 8, 2009 IP