--------------------------------------------------
From: "Nilesh Govindarajan" <li...@itech7.com>
Sent: 10 January, 2010 17:22
To: <users@httpd.apache.org>
Subject: Re: [us...@httpd] Too many '500 Error'

On 01/10/2010 10:50 PM, Nilesh Govindarajan wrote:
On 01/10/2010 10:47 PM, Daniel Reinhardt wrote:

--------------------------------------------------
From: "Nilesh Govindarajan" <li...@itech7.com>
Sent: 10 January, 2010 17:08
To: <users@httpd.apache.org>
Subject: [us...@httpd] Too many '500 Error'

I have a fedora 12 VPS with 500 MB RAM & 1 GB swap.

I've compiled Apache 2.2.14. Also using PHP 5.3.1 via FastCGI.

I've given Apache MaxClients = 500 (ThreadLimit properly set) and PHP a memory limit of 175M.

The problem is, some pages on my site www.itech7.com especially the admin interface don't load properly. It takes more than 30 secs and often results in an Error 500.

Where the problem is ? Drupal (site's app) or Apache ?


Internal 500 error's usually come from something other then apache causing the error. Something along the lines of a Database error or an internal backend script not functioning as it should.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

No actually, all pages open. But sometimes it takes really long although there's no traffic out there. And I checked the log to see this -

FastCGI: incomplete headers (0 bytes) received from server "/usr/local/apache2/cgi-bin/php-cgi"

And this too-

FastCGI: comm with server "/usr/local/apache2/cgi-bin/php-cgi" aborted: idle timeout (30 sec)

--
Nilesh Govindarajan
Site&  Server Adminstrator
www.itech7.com

You need to check the scripts in those directories. Something within the scripts is causing it to time out. I am guessing a database connection. I have seen this before with other scripts.




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to