More frequent "Internal Server Error 500"

Discussion in 'General' started by FeraTechInc, Feb 4, 2010.

  1. FeraTechInc

    FeraTechInc Member HowtoForge Supporter

    We've been having some problems with a flash based file uploader. While it started up very fast at uploading files lately it has been slowing down and throwing out Internal Server Error 500. Also, we have been getting this error with our other sites as well when loading pages from the MYSQL database.

    We recently upgraded our server to Ubuntu 9.10

    We have also made some changes to our php.ini and apache.conf files hoping to eliminate this error. It seems like it's a problem with the process timing out.

    The server an AMD X3 processor, 8gigs of ram 1 terabyte of hard drive space in raid 5 and barely breaks a sweat during the day. PHP version 5.2.10 The slowness might be caused by our ISP.

    However, we would like to eliminate the Internal 500 errors on our sites.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please take a look at the error log of the website, the reason for the error is logged there.
     
  3. FeraTechInc

    FeraTechInc Member HowtoForge Supporter

    Strangely I am getting hundreds of these errors a day:

    [error] [client XXX.XXX.XXX.XXX] File does not exist: /var/www/website.com/web/error/404.html, referer: http://www.website.com/userinfo.php?uid=188

    [error] [client XXX.XXX.XXX.XXX] File does not exist: /var/www/website.com/web/SPA/jseffects

    Also there are these errors which are less common:

    [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function


    The "File Does Not Exist" errors are happening to all my sites.
     
  4. FeraTechInc

    FeraTechInc Member HowtoForge Supporter

    Also, I would like to mention this error pretty includes all files in the website. It seems like all access to the site generates this error.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    The above errors are 404 errors and the lines do not belong to the 500 error. Most likely you checked the wrong error log file as a 500 error is always logged.
     
  6. FeraTechInc

    FeraTechInc Member HowtoForge Supporter

    Where is the log supposed to be?

    I am checking in the /var/www/website.com/log/error.log

    Is there another log for the site I should be checking?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, thats the correct file for the site. If the error is not listed there, take a look at the global apache error login in /var/log/apache2/ (path varies depending on Linux distribution).
     
  8. FeraTechInc

    FeraTechInc Member HowtoForge Supporter

    Any idea what I should be looking for? Are there any key words I can use to sort through all the errors?
     
  9. damir

    damir New Member

    Are you using php_fcgid for you website?
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Search for "500" in the error logs.
     

Share This Page