Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2008

    500 Internal Server Error on wordpress and some other script!!!

    My friend got a new vps as he had been experiencing ram issues with older host, now he has 1gb RAM, so there should be no trouble with the RAM

    He is getting 500 Internal Server error, he is using wordpress and some other image hosting script, the traffic is pretty high and he is using lighthttpd, fastcgi probably turned on

    I am not sure, if turning of lighthttpd and activating apache would solve any problem, as I am scared his scripts might get screwed up by doing this move and his main sites could totally go down

    so need suggestions to over come the problem for him...

  2. #2
    Join Date
    Jun 2005
    Replacing Lighttpd by Apache can't help as Apache is (a lot) more resource intensive than Lighttpd.

    Are you sure the VPS has 1GB guaranteed RAM?

    I suggest you take a look at the WP plug-ins but I think you should hire an experienced admin or WP expert to fine tune the VPS.
    Last edited by dotHostel; 07-05-2009 at 07:58 AM.

  3. #3
    Join Date
    Mar 2008
    thanks for the suggestion dothostel,
    I don't think there are more than 3-4 plugins installed when I last checked in admin panel, he had some similar posts plugin, add to any, google sitemap generator and 1 more.. I don't remember which one of it is, as his blog is of mainly pictures too, so it could be even the accessing pics causing the load
    any other tips or suggestions to overcome this problem plz ??

  4. #4
    Join Date
    Apr 2005
    Check the error_log and try executing the script with 'strace -e open' as the user.

  5. #5
    Join Date
    Jun 2005
    It is common practice high-traffic sites to use Lighttpd or Nginx as front-end Web servers, or Squid, serving static and cached content, and reverse proxy Apache as back-end when Apache is required by the application providing dynamic content. As the VPS is already running Lighttpd and it is serving mainly pics there is no reason to install Apache.

    Did you take a look at the number of open connections? If it is very high maybe you should try lower the keep-alive time.

  6. #6
    Join Date
    Apr 2009
    Have you checked the load using the "w" command and the processes currently running using the "ps aux" command ? If you are sure its is by webserver please tail the error log in real time

    using tail -f "path to error log"

  7. #7
    Join Date
    Nov 2001
    Quote Originally Posted by zacharooni View Post
    Check the error_log
    ^^^^^^^^^^^^^^^ /me applauds z-man.

    Why bother conjecture as to what the problem is before you've checked the darn httpd error log? To the OP: If your friend is running both lighttpd and Apache, be sure to check both error logs. There is no doubt a smoking gun of a clue telling you either exactly what the issue is, or where to look next.
    “Even those who arrange and design shrubberies are under
    considerable economic stress at this period in history.”

Similar Threads

  1. running a perl script throws internal 500 error.
    By jjk2 in forum Programming Discussion
    Replies: 3
    Last Post: 12-23-2008, 10:15 PM
  2. "internal 500 error" is it server error or script error??
    By americanahost in forum Web Hosting
    Replies: 6
    Last Post: 05-08-2007, 02:37 PM
  3. Internal Server Error vs. Specific script error
    By wolfstad in forum Programming Discussion
    Replies: 8
    Last Post: 04-04-2007, 01:27 AM
  4. My TopSites script - causing INTERNAL SERVER ERROR
    By latheesan in forum Programming Discussion
    Replies: 5
    Last Post: 12-29-2005, 06:32 PM
  5. ASP+Access or ASP Script = Internal Server Error .
    By InterKey IL in forum Web Hosting
    Replies: 10
    Last Post: 02-07-2004, 03:57 PM

Posting Permissions

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