Re: fastcgi+php=lots of 500 errors ?

"Simon" <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Is that the only error you see in your error log? when you see 200req a sec
is that all PHP? is it 200req/sec per server or on all 3?

-Simon

On Mon, 28 Feb 2005 19:26:06 +0100, Gabriel Barazer wrote:

>Hi,
>
>When using php with mod_fastcgi , i get a HUGE number of 500 errors and this 
>line in the error log:
>FastCGI: incomplete headers (0 bytes) received from server 
>"/usr/local/bin/php-fcgi/php.fcgi"
>
>I have a moderated traffic (~200req per second on 3 servers), and these 
>500's occurs 2-3 times per second on each server.
>
>My actual config is the same on both servers:
>---
>FastCgiWrapper On
>FastCgiConfig -gainValue 0.8 -killInterval 5 -listen-queue-depth 
>512 -maxClassProcesses 96 -maxProcesses 192 -multiThreshold 
>60 -singleThreshold 1 -startDelay 1 -updateInterval 5
>ScriptAlias /fcgi-bin/ "/usr/local/bin/php-fcgi/"
><Location /fcgi-bin/>
>        Options ExecCGI
>        SetHandler fastcgi-script
></Location>
>
>AddHandler php-script .php .inc .pinc .phtml .php3 .php4
>Action php-script /fcgi-bin/php.fcgi
>---
>
>It appears that if i raise the killinterval AND updateinterval, the number 
>of errors decrease after a restart of apache, but as the uptime grows, the 
>number of errors grows too...
>
>i haven't succeed to reproduce this bug as it seems to be very random (but 
>it happens very more often when the traffic increases)
>
>Anyone have an idea about this *very* annoying effect ?
>
>Oh, i forgot to mention the software versions:
>apache 2.0.53
>php 4.3.10
>mod_fastcgi-snap-0404142202
>
>-- 
>Gabriel Barazer <gabriel-G2fI/[email protected]>
>REAGI 
>
>

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.