Too Many Server Processess; Causing 500 Errors

Discussion in 'Site & Server Administration' started by skaterkee, Mar 7, 2009.

  1. #1
    Ok I'm running several sites from a basic Hostgator package and just recently I wake up every morning and my sites all display 500 errors. It's because there are too many server processes, so I have to keep killing them every few hours. Trouble is, I can't do it when I'm sleeping, and I'm losing money.

    All of them are pointing to my wordpress index.php of my main site, but hostgator can't determine the problem and I have no idea about this stuff.

    The only plugin I can think of was a wordpress/IPB bridge, but it never worked and it's disabled.

    However I did merge both my IPB and Wordpress databases in to one master database for the non working plugin.

    Any ideas?
     
    skaterkee, Mar 7, 2009 IP
  2. SSANZ

    SSANZ Peon

    Messages:
    861
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Checked your site logs?

    Also check your apache logs, is it a dedicated server or just shared hosting?

    I highly doubt that hostgator can't determine the problem.
     
    SSANZ, Mar 7, 2009 IP
  3. bsd13

    bsd13 Peon

    Messages:
    168
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You can setup a cron job to check the process list every few minutes and kill the index.php process.

    Had a site that was having the same problem so wrote a script to check the process list "ps auwx" looking for index.php for that domain. Every 5 minutes the cron job would call the script and kill the run away process. Hosted at HG as well.
     
    bsd13, Mar 7, 2009 IP
  4. skaterkee

    skaterkee Well-Known Member

    Messages:
    651
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    138
    #4
    Thanks for the help. I simply completely reverted the plugin and it worked. It was obviously doing something dodgy even when disabled.
     
    skaterkee, Mar 9, 2009 IP