#36057 [NEW]: php_oci8.dll not thread safe?
| From: | ottawasixtyseven at hotmail dot com | Date: | Tue, 17 Jan 2006 16:48:59 +0000 |
| Subject: | #36057 [NEW]: php_oci8.dll not thread safe? | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-92083@lists.php.net to get a copy of this message | ||
From: ottawasixtyseven at hotmail dot com
Operating system: W2K
PHP version: 5.1.2
PHP Bug Type: Oracle related
Bug description: php_oci8.dll not thread safe?
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 bug report at http://bugs.php.net/?id=36057&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36057&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36057&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36057&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36057&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=36057&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36057&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36057&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36057&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36057&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36057&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=36057&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=36057&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36057&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36057&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36057&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36057&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36057&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36057&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36057&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36057&r=mysqlcfg