Re: Too many '500 Error'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 11, 2010 at 3:59 PM, Nilesh Govindarajan <lists@xxxxxxxxxx> wrote:
> On 01/11/2010 05:12 PM, Tom Evans wrote:
>>
>> On Mon, Jan 11, 2010 at 5:28 AM, Nilesh Govindarajan<lists@xxxxxxxxxx>
>>  wrote:
>>>>>>
>>>>>> 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)
>>>>>
>>
>> The first message says that Apache tried to contact PHP over FastCGI
>> and the script did not return an appropriate response - it didn't
>> return anything. Apache will then display a 500 error.
>>
>> The second message says that Apache tried to contact PHP over FastCGI
>> and the PHP script did not return an appropriate response after the
>> idle timeout of 30 seconds. Again, Apache will display a 500 error.
>>
>> These indicate that the problem is that your PHP scripts crash and/or
>> take too long to run and sometimes fail to execute within the required
>> time limit.
>>
>> Cheers
>>
>> Tom
>>
>> ---------------------------------------------------------------------
>> 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-unsubscribe@xxxxxxxxxxxxxxxx
>>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>
>
> Well, as Daniel suggested, I tweaked MySQL and configured its caches. The
> things are smooth now.
> Any ways how to increase FastCGI script timeout ? The default is 30 I think.
>

http://lmgtfy.com/?q=mod_fastcgi+FastCGI+script+timeout

Cheers

Tom

---------------------------------------------------------------------
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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux