ID:               37133
 User updated by:  ecarpenter at itex dot co dot za
 Reported By:      ecarpenter at itex dot co dot za
-Status:           Feedback
+Status:           Open
 Bug Type:         CGI related
 Operating System: SuSE Linux 10.0
 PHP Version:      4.4.2
 New Comment:

I have only one PHP server process running. Would this imply that all
the PHP execution requests send are all serialized on one "PHP server"
for for processing?

It was my understanding that if the PHP applications is started as a
server (-b :8000) it could handle multiple requests simultaneously , am
I wrong?


Previous Comments:
------------------------------------------------------------------------

[2006-04-26 11:12:26] [EMAIL PROTECTED]

How many PHP processes do you have?
Seems mod_fastcgi doesn't start additional process for sub-request and
existing process is busy.


------------------------------------------------------------------------

[2006-04-19 14:13:54] ecarpenter at itex dot co dot za

If I configure the PHP application as a normal CGI handler everything
works fine (just very slow)


-----------------
#Settings used to run as normal cgi
AddHandler php-cgi .php
Action php-cgi /cgi-bin/php
DirectoryIndex index.php

-----------------
#fastcgi settings to recreate the problem

ScriptAlias /fcgi-bin/ /srv/www/fcgi-bin/
FastCgiIpcDir /var/lib/apache2/fastcgi
<Directory "/srv/www/fcgi-bin">
   AllowOverride None
   Options +ExecCGI -Includes
   Order allow,deny
   Allow from all
</Directory>

FastCgiServer /srv/www/fcgi-bin/php-cgi

#FastCGIExternalServer /srv/www/fcgi-bin/php-cgi  -host 127.0.0.1:8000
AddHandler php-fastcgi .php
Action php-fastcgi /fcgi-bin/php-cgi
DirectoryIndex index.php

------------------------------------------------------------------------

[2006-04-19 11:06:58] [EMAIL PROTECTED]

I can't reproduce it.
Please try to execute the same code using PHP CLI.

------------------------------------------------------------------------

[2006-04-19 11:04:01] ecarpenter at itex dot co dot za

The only errors found in the error log refers to timeout waiting for a
reply. Note that the php server did not stop working and could handle
new requests and even requests while the suspect one is in progress.

Below are the errors found in the error_log:
[Wed Apr 19 12:54:41 2006] [error] [client 127.0.0.1] FastCGI: comm
with server "/srv/www/fcgi-bin/php-cgi" aborted: idle timeout (30 sec)
[Wed Apr 19 12:54:41 2006] [error] [client 127.0.0.1] FastCGI:
incomplete headers (0 bytes) received from server
"/srv/www/fcgi-bin/php-cgi"
[Wed Apr 19 12:54:41 2006] [error] [client 127.0.0.1] FastCGI: comm
with server "/srv/www/fcgi-bin/php-cgi" aborted: idle timeout (30 sec)
[Wed Apr 19 12:54:41 2006] [error] [client 127.0.0.1] FastCGI:
incomplete headers (0 bytes) received from server
"/srv/www/fcgi-bin/php-cgi"

------------------------------------------------------------------------

[2006-04-19 10:20:59] [EMAIL PROTECTED]

What exactly is written in the error_log about it?

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/37133

-- 
Edit this bug report at http://bugs.php.net/?id=37133&edit=1

Reply via email to