fastcgi+php=lots of 500 errors ?

"Gabriel Barazer" <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Organization REAGI
Message-ID <067601c51dc2$f79a4270$1400a8c0@inspiron>
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.