#36057 [Fbk->Opn]: php_oci8.dll not thread safe?
| From: | ottawasixtyseven at hotmail dot com | Date: | Tue, 17 Jan 2006 17:46:40 +0000 |
| Subject: | #36057 [Fbk->Opn]: php_oci8.dll not thread safe? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-92086@lists.php.net to get a copy of this message | ||
ID: 36057
User updated by: ottawasixtyseven at hotmail dot com
Reported By: ottawasixtyseven at hotmail dot com
-Status: Feedback
+Status: Open
Bug Type: OCI8 related
-Operating System: W2K
+Operating System: W2K/IIS5
PHP Version: 5.1.2
New Comment:
Is IIS5 a threaded web server?
Previous Comments:
------------------------------------------------------------------------
[2006-01-17 18:22:22] tony2001@php.net
Works perfectly fine with threaded web-servers like Apache2.
------------------------------------------------------------------------
[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