PHP memory limit problem when using FastCGI

Chris Kuhles <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Organization Aquatix IT-Services e.K.
Message-ID <[email protected]>
Hi,

I'm having a bit of a problem with PHP via FastCGI and PHP's memory
limit enabled.

Whenever a script exceeds the set PHP memory limit, I get

[Thu Aug 03 18:24:04 2006] [error] [client ...] FastCGI: incomplete
headers (0 bytes) received from server
"/var/www/user/.system/php-cgi/php-fcgi-starter"

Which is of course a correct error as PHP didn't return anything.

However, after this, no further requests for PHP files are processed.
This cannot be fixed by anything but an Apache reload. While PHP
doesn't work, the following error messages are printed in the error
log over and over again:

[Thu Aug 03 18:25:06 2006] [error] [client ...] FastCGI: comm with
(dynamic) server "/var/www/user/.system/php-cgi/php-fcgi-starter"
aborted: (first read) idle timeout (120 sec)
[Thu Aug 03 18:25:06 2006] [error] [client ...] FastCGI: incomplete
headers (0 bytes) received from server
"/var/www/user/.system/php-cgi/php-fcgi-starter"

So it figures FastCGI cannot restarted the PHP process for some
reason, but I have no idea why.

I'm running on Apache 2.0.51, PHP 4.3.11 and the latest FastCGI
CVS snapshop (Apache module) dated 0404142202.

I'd much appreciate if anyone had an idea or could help me debug.

TIA,
Chris


___________________________________
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.