ID:               49766
 Updated by:       [email protected]
 Reported By:      binbash at b2host dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         CGI related
 Operating System: CentOS 5.4 x86_x64 Linux
 PHP Version:      5.3.0
 New Comment:

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/




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

[2009-10-04 16:34:09] binbash at b2host dot de

Description:
------------
Hi, I wrote a small testprogram to test performance with php-cgi
running in fastcgi mode and keep getting Errors. When I run it, the
program fails first after 137 requests. 

The test program continues then and succeeds on the next requests but
fails totally after 273 Requests. No response comes back from the
php-cgi binary.

I started php-cgi with following command:

/opt/www/php/bin/php-cgi -b 127.0.0.1:9000

Environment Variables for php-cgi:

PHP_FCGI_CHILDREN = 27
PHP_FCGI_MAX_REQUESTS = 10000000

Reproduce code:
---------------
You can find the test program here:
http://www.pastie.org/641216

I tested with following test.php:
<?php
echo "Hello World!\n";
phpinfo();
?>

Expected result:
----------------
The same output for all requests without any errors.

Actual result:
--------------
>From the cgi binary I get following response for Request 137

type: text/html

<br />
<b>Warning</b>:  Unknown: Filename cannot be empty in <b>Unknown</b> on
line <b>0</b><br />
<br />
<b>Fatal error</b>:  Unknown: Failed opening required ''
(include_path='.:/opt/www/php_5.3.0/lib/php') in <b>Unknown</b> on line
<b>0</b><br />



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


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

Reply via email to