ID:               36057
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ottawasixtyseven at hotmail dot com
-Status:           Open
+Status:           Feedback
-Bug Type:         Oracle related
+Bug Type:         OCI8 related
 Operating System: W2K
 PHP Version:      5.1.2
 New Comment:

Works perfectly fine with threaded web-servers like Apache2.


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

[2006-01-17 17:48:58] ottawasixtyseven at hotmail dot com

Description:
------------
It appears that php_oci8.dll is not thread safe. We're trying to run
PHP 5.1 in ISAPI mode using php_oci8.dll to connect to Oracle.

We can use ODBC instead of php_oci8.dll but this slows things down by
as much as three times. We can also use PHP in CGI mode with
php_oci8.dll but this also adversely effects performance.

I guess we're just looking for confirmation here. If it's a known issue
that php_oci8.dll is not thread safe then we'll have to find another
solution.

Reproduce code:
---------------
Any code will reproduce this. We are using phpinfo(). We are aware that
phpinfo() leaks on purpose (not a bug) but for the purposes of this
testing we're not concerned about memory leaks as the test only runs
for 5 minutes.

Expected result:
----------------
Expect the web server not to crash during load test. 

Actual result:
--------------
Server crashes after 20 seconds with thousands of HTTP errors. Works
perfectly in ODBC mode.


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


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

Reply via email to